Changes between Version 114 and Version 115 of UserGuidelines/GIS/Data


Ignore:
Timestamp:
01/23/11 16:47:45 (14 years ago)
Author:
Pat Tressel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuidelines/GIS/Data

    v114 v115  
    275275We have an XSLT [http://eden.sahanafoundation.org/browser/static/xslt/import/osm.xsl stylesheet] to import .osm files
    276276
    277 e.g for Hospitals:
    278 {{{
    279 osmosis --read-xml country.osm --tf accept-nodes amenity=hospital --tf reject-ways --tf reject-relations --write-xml nodes.osm
    280 osmosis --read-xml country.osm --tf reject-relations --tf accept-ways amenity=hospital --used-node --write-xml ways.osm
     277e.g for hospitals and clinics:
     278{{{
     279osmosis --read-xml country.osm --tf accept-nodes amenity=hospital,clinic --tf reject-ways --tf reject-relations --write-xml nodes.osm
     280osmosis --read-xml country.osm --tf reject-relations --tf accept-ways amenity=hospital,clinic --used-node --write-xml ways.osm
    281281osmosis --rx nodes.osm --rx ways.osm --merge --wx country_hospitals.osm
    282282http://myhost.com/eden/hms/hospital/create.osm?filename=country_hospitals.osm