Jump to content

 
Photo

Data culler

- - - - -

  • Please log in to reply
2 replies to this topic

#1
natcase

natcase

    Ultimate Contributor

  • Validated Member
  • PipPipPipPipPipPip
  • 572 posts
  • Gender:Male
  • Location:Minneapolis, Minnesota
  • Interests:cartography
    aeshetics
    cartographic design
    John Bartholomew
    road maps
    large-scale mapping
  • United States

This is probably a really obvious question, but what I need is something that will read a geodata file (ESRI shape format in particular), and will allow me to select from it either by latitude-longitude range, or using a logical expression within an attribute field. It would then allow me to re-export the resulting, culled file as a (much smaller) file.

Is there a Mac utility out there that does this?

Nat Case
INCase, LLC

Minneapolis, Minnesota USA
maphead.blogspot.com



#2
l.jegou

l.jegou

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 114 posts
  • Gender:Male
  • Location:Toulouse
  • Interests:Webmapping, thematical mapping.
  • France

OGR2OGR, a command-line tool using the GDAL library, can do this type of queries (and much more).

The documentation : http://www.gdal.org/ogr2ogr.html (check the -spat and -SQL parameters).

A Mac version is provided with the GDAL Framework assembled by W. Kyngesburye here: http://www.kyngchaos...ware/frameworks

#3
natcase

natcase

    Ultimate Contributor

  • Validated Member
  • PipPipPipPipPipPip
  • 572 posts
  • Gender:Male
  • Location:Minneapolis, Minnesota
  • Interests:cartography
    aeshetics
    cartographic design
    John Bartholomew
    road maps
    large-scale mapping
  • United States

OGR2OGR, a command-line tool using the GDAL library, can do this type of queries (and much more).

The documentation : http://www.gdal.org/ogr2ogr.html (check the -spat and -SQL parameters).

A Mac version is provided with the GDAL Framework assembled by W. Kyngesburye here: http://www.kyngchaos...ware/frameworks


Perfect. Thanks!

Nat Case
INCase, LLC

Minneapolis, Minnesota USA
maphead.blogspot.com






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->