[mapserver-users] Shapefile Modification

Keith Baker krbaker at metacarta.com
Mon Nov 4 15:07:44 EST 2002


No attribute field :-(
Its things like roads and streams which aren't listed by which country
they are in.  I think doing it with is or isn't inside polygon is the
way to go...


On Mon, 2002-11-04 at 13:29, Tyler Mitchell wrote:
> 
> Is there an attribute/field in the shapefiles that you could use to specify
> which features to remove?  Is so, I would recommend the ogr2ogr tool (part
> of www.remotesensing.org/gdal) to convert from shapefile to shapefile
> including a where clause like "where x = 'USA'".   Do you have a
> usa_polygon.shp file?  Do you have access to ArcView?
> 
> 
>                                                                                                                             
>                       Keith Baker                                                                                           
>                       <krbaker at metacarta.com>             To:       mapserver-users <mapserver-users at lists.gis.umn.edu>     
>                       Sent by:                            cc:                                                               
>                       owner-mapserver-users at lists.        Fax to:                                                           
>                       gis.umn.edu                         Subject:  [mapserver-users] Shapefile Modification                
>                                                                                                                             
>                                                                                                                             
>                       11/04/2002 09:31 AM                                                                                   
>                                                                                                                             
>                                                                                                                             
> 
> 
> 
> 
> I have some basic shapefiles of the world, and then I have tiger
> shapfiles.  The world shapefiles have some duplicated data such as US
> roads.  I'd like to trim all data within the US out of the world data.
> This seems like a somewhat common task so I am hoping there is a tool
> out there?  Something like trim north_american_highways.shp with
> usa_polygon.shp...  Hints? tips? evil vibes?
> 
> 
> 
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20021104/39978d65/attachment.bin


More information about the mapserver-users mailing list