Does MapWinGIS support Oracle Spatial format

Jan 4, 2012 at 3:15 PM


I have put some shapefile into oracle. Now i have to read it out and display in the panel , Could I do it with MapWinGis?

I use OGR library to operate shapefile, as MapWinGis support GDAL, could it supports OGR?

Thanks and regards,

Jan 5, 2012 at 10:15 AM

Internally MapWinGIS uses GDAL and OGR.

MapWinGIS is not  yet mapping all methods of GDAL/OGR.
We'll try to do so for v4.9:

But GDAL/ORG isn't compiled using the Oracle libraries. So for now it is not possible to read from an Oracle database using MapWinGIS+OGR.
You can however use Oracle's own library/API to retrieve the data from the database. Next you only need to create a temporarily shapefile that holds the data and you can open it in the map.


Jan 5, 2012 at 3:21 PM

Thank you very much for this reply.

I have compiled GDAL/OGR using the Oracle libraries. If I use this gdal.lib in the mapwingis compile project, will ocx support Oracle?

If I use OGR to read the data from Oracle db, could I change the OGR structure( DataSource, Layer, or Feature) to ShapeFile structure?

If I can change it, I think I can open it in the map. hehe~~


Jan 6, 2012 at 12:46 PM

OGR/GDAL methods will only work if the ocx has methods that map those methods.
At this moment the ocx doesn't map any new methods.

If you have compiled OGR with Oracle you can also use ogr2ogr.exe to connect your database and extract a shapefile.
This shapefile can be used in the ocx.
Using the Process class of .NET you can call ogr2ogr.exe from your application.


Mar 1, 2016 at 12:24 PM
Dear All,

Does map window now support OGR Oracle spatial ?

if yes how can I use it .

Thanks in advance.