[postgis-users] XMap and GoogleMap

Jürgen Mischker juergen.mischker at boku.ac.at
Thu Nov 10 23:03:43 PST 2005


I think I got it, the problem are the polygons with holes, does XMap can#t rendering them?

On Thu, Nov 10, 2005 at 09:24:44AM +0100, Jürgen Mischker wrote:
> I am doing some work in php to read geodata from a PostGIS database, modify them to create an overly for the GoogleMap[1] API by using XMap [2].
> 
> I started with a MULTIPOLYGON layer and it seems that the order of the points, describing the polygons, is not unimportant.
> My dataset: I got a shapefile (some soil data from lovely NewZealand), shp2psql to chuck them into the database. So I think the order of the points in the shapefile must be ok, otherwise ArcGIS would not render te map correctly. 
> Does somebody has an idea what the shp2psql does with the order of the points?

It doesn't change them, but uses them to determine which rings
are shells and which one are holes (as for shapefile format spec).
Why are you asking ? Are you having problems rendering them ?

--strk;




More information about the postgis-users mailing list