Newbie Questions

Brian Flood BFLOOD at SPATIALDATALOGIC.COM
Tue Mar 28 14:22:03 EST 2006


thanks

yea, it does contain both a REQUEST and SERVICE parameter...

I am just typing the request into the browser directly, I should get back
the image like any other WMS service.
http://12.144.53.43/mapguide/mapagent/mapagent.fcgi?&REQUEST=GetMap&SERVICE=
WMS&VERSION=1.1.1&LAYERS=Zoning_2005&STYLES=default&FORMAT=image/gif&BGCOLOR
=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:4326&BBOX=-74.77294921875,40.61395244116
6596,-74.761962890625,40.622291783092706&WIDTH=256&HEIGHT=256&reaspect=false

I've tried it without the "reaspect" parameter as well...

this is from the Error log:
<2006-03-28T14:10:04> 	Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2;
SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727)	12.144.53.43

 Error: Session has expired or is invalid. Please log in again.
 StackTrace:
  - MgOpAuthenticate.Execute line 111 file
c:\build_tux_area\mgdev\server\src\services\site\OpAuthenticate.cpp
  - MgSecurityManager.Authenticate line 227 file
c:\build_tux_area\mgdev\server\src\common\manager\SecurityManager.cpp
  - MgSessionCache.GetSessionInfo line 157 file
c:\build_tux_area\mgdev\server\src\common\manager\SessionCache.cppSession
has expired or is invalid. Please log in again.



-----Original Message-----
From: Brian Flood 
Sent: Tuesday, March 28, 2006 1:42 PM
To: 'users at mapguide.osgeo.org'
Subject: Newbie Questions

greetings

 

just digging into mgos so please forgive the simple questions...

 

got everything working on a Windows 2003 server. Imported data using the
Autodesk Preview program (quite nice). Figured out how to enable WMS
services and I can query the GetCapabilities file successfully.

 

1) Whenever I try use the mapagent to make a WMS request (other then
GetCapabilities) it requires a logon. I must be missing the simple setting
to allow anonymous users access to WMS mapping...

 

2) in the designer, is there an easy way to set the initial extent of a map
to the full extent of any layer/feature class? There is handy link to make
the initial extent the current exent of the preview map but nothing that
would set it to the extent of any one layer inside the map. Also, I know my
data is NAD83 SPC in NJ but it looks like the coords in the extent bounds
for the data are wrong? any thoughts?

 

cheers

brian

 

 





More information about the Mapguide-users mailing list