[Geomoose-users] air photo not showing up print when using wms
& reprojecting
Mark Volz
MarkVolz at co.lyon.mn.us
Tue Apr 20 10:51:03 EDT 2010
Len,
It appears that GeoMoose is sending the request for printing in County
Coordinates, which the lmic server doesn't handle. I wonder if there is a
way to use the wms directly for viewing the map, but then turn on an
alternate layer for printing? My other thoughts are that maybe I could use
UTM-15, then modify the displayCoordinates in main.js to display the county
coordinates...
When Viewing the map:
http://geoint.lmic.state.mn.us/cgi-bin/wms?LAYER=&SERVICE=WMS&VERSION=1.1.1&R
EQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=imag
e%2Fjpeg&LAYERS=fsa2009&SRS=EPSG%3A4326&BBOX=-95.93229014080966,44.4136078637
4146,-95.82239333904468,44.45166020637491&WIDTH=2037&HEIGHT=984
When printing the map:
http://geoint.lmic.state.mn.us/cgi-bin/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=
GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG:127083&FORMAT=ima
ge/jpeg&WIDTH=800&HEIGHT=700&BBOX=494127.36728056,178566.75342801,513259.4773
4712,190556.02122377&LAYERS=fsa2009
Thanks for your help
Mark Volz
GIS Specialist
Lyon County, MN
-----Original Message-----
From: Len Kne [mailto:lkne at houstoneng.com]
Sent: Monday, April 19, 2010 4:49 PM
To: 'bfraser at geoanalytic.com'; Mark Volz
Cc: geomoose-users at lists.sourceforge.net
Subject: RE: [Geomoose-users] air photo not showing up print when using wms &
reprojecting
Check the URL in the map-source, it cannot have any params on it as the
print_util script adds a "?" to the end of the string if it is not there.
Thus if you have something like:
http://geoint.lmic.state.mn.us/cgi-bin/wms?format=image/jpeg
the script will do this:
http://geoint.lmic.state.mn.us/cgi-bin/wms?format=image/jpeg?
Move the params to tags in the map-source.
For diagnostics, you can uncomment lines 173 and 174 in php/print_util.php to
get the URL string, feed that into a browser to see if the server returns any
info.
Len
-----Original Message-----
From: Brent Fraser [mailto:bfraser at geoanalytic.com]
Sent: Monday, April 19, 2010 2:17 PM
To: Mark Volz
Cc: geomoose-users at lists.sourceforge.net
Subject: Re: [Geomoose-users] air photo not showing up print when using wms &
reprojecting
Mark,
I don't have that particular case, but I notice that there is projection
support in GM v2.2 print_util.php so it is supposed(?) to work.
Since you've got the layer displaying interactively, you have something
like projection='EPSG:4326' in the map source tag. Perhaps there's a
limitation by the WMS server on the number of pixels you can request?
Did you try requesting a print with "Image Quality" = standard (this
will request less pixels)?
Brent
> Hi,
>
> I noticed that my air photo does not appear to show up my map when I use
> the
> "print" tool. I am reprojecting the air photo. I am assuming this is
> either
> a bug or a limitation. Has anyone had success with having the air photo
> show
> up on the map when using the print tool when the map-source type is wms
> and
> it is being reprojected?
>
>
>
>
>
> Mark Volz
> GIS Specialist
> Lyon County, MN
> 507-532-8218
>
>
>
-----------------------------------------------------------------------------
-
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
>
http://p.sf.net/sfu/intel-sw-dev_____________________________________________
__
> Geomoose-users mailing list
> Geomoose-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geomoose-users
>
-----------------------------------------------------------------------------
-
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geomoose-users
More information about the Geomoose-users
mailing list