[gdal-dev] Create PostGIS database using OGR/GDAL

2014-10-23 Thread Paul Meems
Hi, At this moment we are working on getting PostGIS support for MapWinGIS. We use the PostGIS driver from GDALv2. So far we can read and write layers. We also want to implement some tests, which are also used as a show case for other users. For these tests I want to create a database, import so

Re: [gdal-dev] Create PostGIS database using OGR/GDAL

2014-10-23 Thread M. Edward (Ed) Borasky
If this is a Windows-only project, you can write directly to PostgreSQL / PostGIS using the ODBC driver. And if you have shapefiles, there's a PostGIS utility called "shp2pgsql" that will import them. On Thu, Oct 23, 2014 at 1:03 PM, Paul Meems wrote: > Hi, > > At this moment we are working on g

Re: [gdal-dev] Create PostGIS database using OGR/GDAL

2014-10-24 Thread Paul Meems
Thanks for your reply. MapWinGIS is indeed a Windows-only project written in C++. My test application is written in C#, so I can use npsql to connect to PostGIS and send the 'Create database' statement. But I'm mostly wondering why I can do everything with the PostGIS driver, except create or dro

Re: [gdal-dev] Create PostGIS database using OGR/GDAL

2014-10-24 Thread Even Rouault
Le vendredi 24 octobre 2014 09:45:03, Paul Meems a écrit : > Thanks for your reply. > > MapWinGIS is indeed a Windows-only project written in C++. > My test application is written in C#, so I can use npsql to connect to > PostGIS and send the 'Create database' statement. > > But I'm mostly wonder