[Spam: 3.72] RE: [mapguide-users] PostGIS - what is wrong whit that? - my todo list

Maciej Skorczewski maciej.skorczewski at procad.pl
Thu Feb 1 03:18:30 EST 2007


hi Traian !

it is still noting...i see that my web browser load some data but i 
can't see it. even after on/off layer in task pane.

i add layer to map...

I use ogr2ogr tool to convert shp files into PostgreSQL database.

I use MG 1.1.0 and OGR 3.2.0



Traian Stanev napisał(a):
> 
> Hi, 
> 
> The first thing you can try is -- instead of previewing the layer,
> create a map and add the layer to it. Then set the map extents to the
> known extents of the data. This will eliminate any extents reporting
> issues and narrow down the problem. I will download your data and take a
> look at it whenever I get a chance. By the way, when I tested the OGR
> provider with PostGIS, I did the exact same thing as you -- converted
> from SHP to sql and executed against PostGIS to get some data into it.
> 
> Traian
>  
> 
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Maciej
> Skorczewski
> Sent: Wednesday, January 31, 2007 7:54 AM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] PostGIS - what is wrong whit that? - my todo
> list
> 
> Hi!
> 
> I try to show layer who is stored in Postgresql Database (whit PostGis)
> 
> Pleas check what i make wrong:
> ______________________
> 1. I convert shp file:
> 
> ->  shp2pgsql input_shape_file.shp table_name > output.sql
> ______________________
> 2. i put in into database
> 
> -> psql -U postgresql -d database_name -f output.sql
> 
> ______________________
> 3. I use Studio to create a Data Connection
> 
> i use OSGeo.OGR ,
> connection string :
> PG: host=localhost user=postgres dbname=postgis password=passw
> 
> ...when i check data connection all is OK (Successful connection.)
> 
> ______________________
> 4. then i create a layer
>   (it is comes form Studio)
> 
> Data resorce: Library://test/postgis.FeatureSource
> 
> Feature Data Setup
> 
> Feature class: ORGSchema:siec
> Geometry: the_geom    (? i think that it is error or bad. what sould?)
> 
> 
> 
> 
> after that i don't see 	anything (blank screen)
> 
> so what is wrong?
> 
> in this url are zip archive whit my files. take a look.
> http://easy3249.easyisp.pl/siec.zip
> 
> 
> 
> 
> 
> maciek
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 


More information about the mapguide-users mailing list