I'm using MapWindow version 4.5.5020.1040 and trying to load data from a PostGIS database.
I connect successfully to my database, see and select the different layers.
When I click OK, the attached error message appear...
Can anyone please help?
Attachments: MapwindowPostGISerror.bmp (381.7 KB)
p.s. tryed to use the new 4.6 ver. with same results...
Edited 1 time(s). Last edit at 09/12/2008 08:05AM by stefan0n.
Please email me if you have any other suggestions on how to connect to Postgis with Mapwindows
I copied the PostgreSQL folder (and all sub folders) which is under C:\Program Files\PostgreSQL to C:\Program Files\MapWindow (thus C:\Program Files\MapWindow\PostgreSQL) and now it works!
I get a dialog box asking me to select a layer. No layers appear, somewere their is no SQL statement firing asking to view the "geometry_columns" table
I am on version 4.6.602
Which versions have succesfully viewed postgis layers?
Thanks for the help this far, its amazing.
I've also attached an image as example where I've been able to link my PostGreSQL data with MapWindow GIS
All the best
Attachments: MWGIS with PostgreSQL.TIF (60.2 KB)
"Simply add your local installation of PostgreSQL or copy the binary and any dependancies to the MapWindow directory or a directory on your system path."
"I copied the PostgreSQL folder (and all sub folders) which is under C:\Program Files\PostgreSQL to C:\Program Files\MapWindow (thus C:\Program Files\MapWindow\PostgreSQL) and now it works!"
1)I followed the steps above but am still getting the same error msg that was in the initial post of this thread.
2)I am also wondering why I have more available layers (even though I cannot add them because of #1) when trying to add through MapWindow than I do in pgAdminIII [see attachment].
* * EDIT * * I just resorted to using QGIS, not like that's a lesser alternative or anything .. I even did it from my USB stick via [www.archaeogeek.com]
Edited 1 time(s). Last edit at 11/21/2008 03:21PM by larso.
Attachments: 2008-11-21_mwGIS_postGIS_0.png (75.3 KB)
I added the postgres-bin-folder to the systempath of the enviroment variables.
Now the previous mentioned error doesn't appear, but still no luck.
The shp2pgsql.exe crashes!
Does anyone have a clue?
I doesn't make sense to me that you have to move your whole bin folder to a specific file-folder in the mapwindows project.If you have Postgis loaded then Mapwindows should be able to call the pgsql2shp.exe from a normal cli or cmd because the postgis variable path is already inplace and that bin contains the required .exe
So the function within Mapwindows is not calling the correct .exe.
A long way around is to do what I did and get the entire source code and re-code this function. Your command doesn't have to point to a specific file/folder, you can run it directly from windows "run" cli/cmd.
Im beginning in mapwingis!
I have problem to connect mapwingis to postgis.
how can do this work?
You can use this plug-in that was created by a user:
Currently 2 students are working on implementing SQLite and PostGIS support in the OCX.
That will take a few more months. If you are in no hurry you can wait for that as well.
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
Follow me on Twitter MapWindow_nl to read when a new installer is published.
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
View my profile on LinkedIn