[GRASS-dev] wms in wxgrass?

Markus Neteler neteler at itc.it
Thu May 31 05:56:53 EDT 2007


Hamish wrote on 05/31/2007 08:21 AM:
> Markus Neteler wrote:
>   
>> I have tried it in our new NC dataset location:
>>     
> ..
>   
>> g.region rural_1m -p
>> r.in.wms output=terraserver-drg         
>> mapserver=http://terraserver.microsoft.com/ogcmap6.ashx         
>> layers=DRG region=rural_1m format=tiff
>> wgetoptions="--user-agent=MSIE5.5" Calculating tiles
>>     
> ..
>   
>> Requesting 1 tiles.
>> Downloading tiles
>> Tile already downloaded
>> All tiles downloaded successfully
>> #################################
>> <html><head><title>OGCMap Test</title></head>
>> <body>
>> <h3>Service Exception Report</h3>
>>     
> vvv
>   
>> <p>Found 1 errors</p>
>> <br>Unable to parse EPSG code 3358
>>     
> ^^^
>   
>> </body></html>
>>
>> Any idea?
>>     
>
> - EPSG code 3358 isn't in my EPSG file. (proj 4.4.9)   custom?
>   
It should be there, at least it is in PROJ 4.5.0:

# NAD83(HARN) / North Carolina
<3358> +proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334
+lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +ellps=GRS80 +units=m
+no_defs  <>


> - the WMS server will be limited to the epsg codes it knows/allows.
> - I haven't looked at r.in.wms closely, but I thought the r.in.gdal step
> was there to do common <4326> WGS84 LL -> current projection?
I dunno - the r.in.wms script is rather unreadable for me.

Markus

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------




More information about the grass-dev mailing list