Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] udig and postgis

I use Ubuntu 8.10.

My database is empty. I obtained it like this:
createdb neamt_gis
createlang plpgsql neamt_gis
psql neamt_gis < /usr/src/postgresql/postgis-1.3.3/lwpostgis.sql

I compiled postgis like this: ./configure --with-geos=/usr/bin/geos-config --with-proj --with-proj-libdir=/usr/local/lib
I got no errors at make check.

I didn't add no tables and I didn't use add_geometry_column function.
I just started udig and I tried to connect to postgresql server.

Thank you for the quick response.
I will try to create a table and to get a newer version.


Jody Garnett wrote:
Victor Sterpu wrote:
When I add a new data source "postgis" a receive the message "unable to recognize service, choose another".
I have udig 1.1 RC14 sin postgis 1.3.3.
Interesting; did you add some tables and use the add_geometry_column function to mark them as containing spatial content? uDig only checks for tables with spatial content...
I created the database structure with no error.
I tested udig with the postgis from the uDigWlkthrough1.pdf - www.refractions.net. Using this postgis I can succesfuly interrogate the database.

Does someoane has any ideea what is the problem?
Thank you.
You may wish to try a newer build - but I suspect your database is empty? We have been making them "quietly" every couple days as we get ready for 1.1.0...
- http://udig.refractions.net/files/downloads/uDigAug17/udig-1.1-Aug18,20087.48.50AM-win32.win32.x86.exe <http://udig.refractions.net/files/downloads/uDigAug17/>

I wonder if it is a bug (ie perhaps uDig should connect to an empty PostgresSQL and allow people to make new tables? If so it is not something anyone has asked for .... yet.

Cheers,
Jody



Back to the top