[talk-au] Extracting Map data for Australian cities
Matt White
mattwhite at iinet.com.au
Thu Jul 30 13:38:54 BST 2009
As a down and dirty command, this sort of thing works a treat (you might
need to append "-0.6" to each of the commandline options depending on
the version of osmosis you are using)
Based on extracting a subset of data from an OSM file - the bounding box
is a rough cut of NSW
java -Xmx512M -jar osmosis.jar --read-xml file="australia.osm"
--bounding-box left="140.971" right="154.500 " top="-28" bottom="-37"
--write-xml file="NSW.osm"
Matt
Kamran Shafi wrote:
> Hi John,
>
> Thanks for a quick response. Actually I am trying to build an
> offline routing application for which I need only one city's map data
> only. Unfortunately, Osmosis has refused to recognise any commandline
> options. Unless there is any other tool I am thinking of writing my
> own to extract this data from Australia.osm. Do I have better options?
>
> On Thu, Jul 30, 2009 at 5:17 PM, John Smith <delta_foxtrot at yahoo.com
> <mailto:delta_foxtrot at yahoo.com>> wrote:
>
>
>
>
> --- On Thu, 30/7/09, Kamran Shafi <kamran.shafi at gmail.com
> <mailto:kamran.shafi at gmail.com>> wrote:
>
> > This is my first mail to this list. I have been
> > trying to use osmosis to extract map data for different
> > Australian cities, but osmosis is not working for me (I am
> > on a windows machine). Any ideas what other options do I
> > have?
>
> I don't use windows but osmosis is a java program so for the most
> part it's irrelevent what platform.
>
> What is relevant is what you are trying to achieve?
>
> Splitting the data up for all cities in Australia is almost
> pointless at this point in time when the whole country can be
> generated in a 41M navit binary file format.
>
>
>
>
>
>
> --
> Regards
> Kamran
> ------------------------------------------------------------------------
>
> _______________________________________________
> Talk-au mailing list
> Talk-au at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-au
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.392 / Virus Database: 270.13.35/2271 - Release Date: 07/29/09 18:07:00
>
>
More information about the Talk-au
mailing list