On 16/06/10 08:47, Hamish wrote:
Cameron wrote:
I've created an "install_gisdata.sh" script, which downloads the
following naturalearth datasets:
great, thanks.
Hamish, I've copied the installing of the Barcelona.osm dataset from
install_osm.sh, except instead of calling it barcelona.osm,
I'm calling the dataset highlightedcity.osm
The reason for this is that I'm wanting to ensure that we can change the
dataset year to year without effecting application examples which use
the dataset.
Is this realistic? Can applications determine the area of interest from
an OSM file?
Hamish, could you please review this script, and if you are happy with
it, remove the corresponding lines from install_osm.sh
We have to change the bounding box anyway, so the filename is not that
much extra effort once every 6 months to update. Anyway the Xapi/OSM data
download takes about 20 minutes to extract so for the test builds I've
stashed a cached copy on the download server but will re-enable the
fetching of the most up-to-date version for the final RCs. i.e. manual
intervention is required by the OSM install script maintainer anyway.
(which happens to be me right now)
What I'll do is keep the heavy lifting of the download in install_osm.sh,
ok, sounds fine.
but change install_gisdata.sh to make a symlink called feature_city.osm.bz2
to provide a steady filename for tutorials and e.g. any PostGIS data upload
to use.
yes, good idea to use a symlink. That is a better solution.
I suggest we move the OSM data to the data/gisdata/ directory rather
than data/osm directory, so that we keep all common data in the one
place. That ok with you Hamish?
honestly I can't promise that I'll be able to even quickly review any
scripts over the next couple of weeks; but I'll try to find the time
somehow.
While you always have good programming tips when you review, I'm
comfortable enough with my programming skills that your review is
optional. I'm just making sure I'm not stepping on your toes by
suggesting you review what I've done.
Hamish
--
Cameron Shorter
Geospatial Solutions Manager
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254
Think Globally, Fix Locally
Geospatial Solutions enhanced with Open Standards and Open Source
http://www.lisasoft.com
_______________________________________________
Live-demo mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/live-demo
http://wiki.osgeo.org/wiki/Live_GIS_Disc