why don't you use "-nlt MULTIPOINT" in ogr2ogr to force multipoint as geometry type for the resulting shape? Anyway ogr2ogr shoukd keep the input-geometry-type as default if possible, I guess.
Marco [email protected] schrieb: > Hi, > I have a postgistable with different geometrytyps in one table: points > and multipoints (get this information via ST_GeometryType). > UMN Mapserver have no problems to show the geometrys, but if I try to > export this table via ogr2ogr there is an error: > Attempt to write non-poin(MULTIPOINT) to point shapefile. > How can I cast all my geometrys to point? > Jo > _______________________________________________ > postgis-users mailing list > [email protected] > http://postgis.refractions.net/mailman/listinfo/postgis-users -- ++++++++BITTE VORMERKEN++++++++ INTERGEO 2009: 22.09. - 24.09.2009 in Karlsruhe; Halle 1, Stand 1.417 +++++++++++++++++++++++++++++++ FOSSGIS e.V. die unabhängige Hilfe bei freier GIS-Software und freien Geodaten www.fossgis.de +++++++++++++++++++++++++++++++++ _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
