Ticket #1166 (new defect)
r.tileset: projection string munching on wingrass
| Reported by: | hamish | Owned by: | grass-dev@… |
|---|---|---|---|
| Priority: | major | Milestone: | 6.4.4 |
| Component: | Packaging | Version: | svn-develbranch6 |
| Keywords: | r.tileset, wingrass, msys | Cc: | |
| Platform: | MSWindows XP | CPU: | x86-64 |
Description
Hi,
while running r.in.wms at the MSys prompt on WinGrass with the NASA OnEarth? Landsat man page example, the r.tileset part does some weird things to the +proj4 strings.
to see them, you need to add some debug messages to the r.tileset script, line ~233:
g.message -i message="[$p_source_proj]" g.message -i message="[$p_dest_proj]"
also I changed "message 3 ... $CS2CS" just above that to "g.message -i message=..." so the cs2cs command line would show up.
the weirdness displayed by that g.message is:
echo "589980.0 4913700.0" | cs2cs -f "\.8\f" '+proj=utm' '+zone=13' '+a=6378206.4' '+rf=294.9786982' '+no_defs' '+nadgrids=c;C:\PROGRA~1\GRASS-~1\msys\Program Files\GRASS-65-SVN\etc\nad\conus' '+to_meter=1.0' +to +init=epsg;4326
namely "+nadgrids=c;C:\PROGRA~1\..." starting with "c;" and "+init=epsg:4326" becoming "+init=epsg;4326" (with an ';' instead of a ':').
g.proj -j by itself looks fine.
?
thanks, Hamish
