[Mapserver-users] Download a Windows-Binary for shpfix

Elstermann, Mike Mike.Elstermann at itc-halle.de
Fri May 14 08:25:18 EDT 2004


hi mapservers,

where can I find a downloadable Windows-Binary for shpfix
(http://shapelib.maptools.org/shapelib-tools.html#shpfix)
thanks for help!

::: mfg. Mike Elstermann [mikeE.], Teamleiter GIS/e-Solutions
::: IT-Consult Halle GmbH, Bornknechtstraße 5, 06108 Halle (Saale)
::: Sitz: Große Nikolaistraße 8
::: Tel.: +49 345 221 4237, Fax: +49 345 221 4236, mobil: +49 160 71 545 02
::: mike.elstermann at itc-halle.de ::: http://www.itc-halle.de
::: GeoDaten Online? -> http://halgis.halle.de; http://umweltatlas.halle.de


-----Ursprüngliche Nachricht-----
Von: Frank Warmerdam [mailto:warmerdam at pobox.com]
Gesendet: Freitag, 30. April 2004 03:58
An: Dave Malach
Cc: mapserver-users at lists.gis.umn.edu
Betreff: Re: [Mapserver-users] OGR2OGR spat clipping issue


Dave Malach wrote:
> I am using OGR2OGR to clip a small rectangle into a shapefile from a 
> larger shapefile.
> 
>  
> 
> The process works fine with the “OGR2OGR –spat” command, except that it 
> omits any polygons that are not completely inside the smaller 
> rectangle.  I was hoping that it would simply clip (and maybe close) 
> those polygons that overlay the edge of the small rectangle.
> 
>  
> 
> Is there a way to get OGR2OGR to do this?

Dave,

Ogr2ogr should be returning complete features with the full geometry for
all features whose MBR (minimum bounding rectangle) intersects the rectangle
you specify in the -spat argument.  It never clips, but a feature should
not need to be completely contained in the query rectangle.

If you actually want to perform geometry operations such as clip to a bound,
I would suggest you look at using the geometry operations in PostGIS.

PS. This question would likely be best asked on the gdal-dev mailing list.

Best regards,
-- 
---------------------------------------+------------------------------------
--
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list