[postgis-users] "Linux" geocoder script ?

fork forkandwait at gmail.com
Tue Mar 22 17:35:33 PDT 2011

Paragon Corporation <lr <at> pcorp.us> writes:

> Fork,
> Haven't had a chance to test on Linux yet.  That's on my todo to fix the
> Linux, but sadly haven't gotten to it. 

It's all good!

I would think about the loader script pretty hard ... it is pretty far from
usable.  I would definitely call it "sh" not "linux" (don't want to piss off the
 BSD'ers or the SUN ^H^H Oracle folks).  Also, it looks like someone started to 
convert the bat file and then just stopped midstream (e.g. "%%z" for expanding 
the variable z -- that should be $Z in shell).  

If a big rework is in the pipeline, I would generate a header dynamically with
lots of variable assignments (UNZIPTOOL='blah.exe'), and keep the calls to
shp2pgsql, etc in a body that isn't changed at all but accesses everything with

Daniel -- could you post your edited script so we could take a look?  I promise
to do mine.

I have all sorts of additional issues, but some of them are due to the fact I am
trying to pretend my (work-issued) windows machine is a real operating system,
but it has the idiotic pathnames with spaces, etc.

More information about the postgis-users mailing list