Re: [mapguide-users] Can't log into Server via Maestro

2009-06-17 Thread Kenneth Skovhede, GEOGRAF A/S
If it only happens in Maestro, and you are not using the latest preview version, I'm guessing that you have a corrupt resource header. The previous versions of Maestro would retrieve the complete list of folders and resources on startup. This will trigger any problems with resource headers on

Re: [mapguide-users] Spatial Context for ODBC data connection

2009-06-17 Thread Kenneth Skovhede, GEOGRAF A/S
I you are using Maestro, you must use the latest preview version. ODBC handles projection a little different than the other providers, and this has been adressed recently. Regards, Kenneth Skovhede, GEOGRAF A/S nasp skrev: Hi, I don't know how to set spatial context in my ODBC data connection

Re: [mapguide-users] Please, help

2009-06-17 Thread Kenneth Skovhede, GEOGRAF A/S
The server is not maintained as much as it could be, that might explain the trouble you are experiencing. I have no info on requirements. Regards, Kenneth Skovhede, GEOGRAF A/S mohammad abdraboh skrev: Dear, Kenneth Thanks a lot for your reply. I tried the link you sent but the functions w

Re: [mapguide-users] Mapguidesever crash abruptly

2009-06-17 Thread Zac Spitzer
and then first out of respect for the other users, google the problem first this is a custom mapguide resources search engine I setup which might help http://www.google.com/coop/cse?cx=012929665973257206593%3Atemf_hz4pxe&hl=en personally I find it really rude when people ask for help without fir

Re: [mapguide-users] more 2.1 problems (GDAL this time)

2009-06-17 Thread Kenneth Skovhede, GEOGRAF A/S
You have a forward slash, which should be a backwards one, not sure if it fixes anything though. Have you tried the approach described for debugging rasters? http://trac.osgeo.org/fdo/wiki/FdoGdalNotes The very least, it should display the path to the files it is trying to open. Hopefully it

Re: [mapguide-users] Mapguidesever crash abruptly

2009-06-17 Thread Kenneth Skovhede, GEOGRAF A/S
I think Dennis is trying to say: There is no way anyone can guess what goes wrong without more information. You should at least include the following in your error report: * Contents of the error log and application log * Version of OS, MG and IIS/Apache * WebTier language (aspx, php, jsp) * Dat

Re: [mapguide-users] RE: GDAL FDO Issues

2009-06-17 Thread Andrew DeMerchant
Mine are each about 4Mb -pretty smallI'm pointing to a folder with about 6 of them. Mark Nichols wrote: Andrew, What size files are you using? Mine are < 600 MB. Does size matter. Most likely I have something out of place, just can't find what. Mark On 6/17/09 9:07 PM, "Andrew DeMer

RE: [mapguide-users] Intersects selection layer

2009-06-17 Thread ehsan
can you explain how can i do it..? this is my code to make the selection.. $opts = new MgFeatureQueryOptions(); $opts->SetFilter("no_lot='".$searchValue."'");//set the query filter $featureClassName = $layer->GetFeatureClassName(); $srcId = new MgResourceIdentifier($layer->GetFeatureSourceId());

Re: [mapguide-users] RE: GDAL FDO Issues

2009-06-17 Thread Mark Nichols
Andrew, What size files are you using? Mine are < 600 MB. Does size matter. Most likely I have something out of place, just can't find what. Mark On 6/17/09 9:07 PM, "Andrew DeMerchant" wrote: > I've been trying to make the gdal work for 2.1 for a week or 2 now, with > the help of this grou

Re: [mapguide-users] RE: GDAL FDO Issues

2009-06-17 Thread Andrew DeMerchant
I've been trying to make the gdal work for 2.1 for a week or 2 now, with the help of this group.but still no go. Andrew Mark Nichols wrote: Still is not working. I'll step through the instructions again and make sure I'm doing it right. Anything else that could have changed. What about

Re: [mapguide-users] RE: GDAL FDO Issues

2009-06-17 Thread Mark Nichols
Still is not working. I'll step through the instructions again and make sure I'm doing it right. Anything else that could have changed. What about the world file. I have a folder with the sid and the sdw. I re-created the data connection and layer, still nothing showing. Mark Nichols ma...@sp

[mapguide-users] RE: Spatial Query

2009-06-17 Thread Berdel, Brian
Thanks for the reply, I will try that approach and see how it turns out. It does seem like it may be pretty taxing and slow with a lot of points to keep looping different circles around them (I forgot to explain there would be a lot). Is there anything in the API for "closest" ? Just to get th

RE: [mapguide-users] Mapguide Crashing IIS (w3wp.exe) service or vice Versa

2009-06-17 Thread Andy Morsell
I get a similar error message on Windows 2003 Server and MGOS 2.0.2. Usually upon login in I'll have several console messages about w3wp.exe error messages and sometimes the IIS Worker Process. But, it's never been fatal for me and MapGuide still ticks along (has been for about two months without

[mapguide-users] RE: GDAL FDO Issues

2009-06-17 Thread Jason Birch
Are you using the new MrSID plugin referenced in this post? http://n2.nabble.com/ECWs-and-MG-2.1-tp2978248p2978703.html If this works for you and you have time, it would be awesome if you could add it to the FDO wiki. I haven't had a chance yet: http://trac.osgeo.org/fdo/wiki/FdoGdalNotes Jas

RE: [mapguide-users] GDAL FDO Issues

2009-06-17 Thread Andy Morsell
Any error messages in error.log? Did you restart the MG service? Did you ensure that your coordinate system overrides are still set for the GDAL layer definitions? Or, reset the coordinate system overrides? Andy -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:m

Re: [mapguide-users] GDAL FDO Issues

2009-06-17 Thread Mark Nichols
Tried that earlier and did it again just now. Still does not show sid. Mark On 6/17/09 7:24 PM, "Andy Morsell" wrote: > No, you're path should be Server\bin\gdalplugins. See this page: > > http://trac.osgeo.org/fdo/wiki/FdoGdalNotes#FDO3.3.0MapGuide2.0.0 > > Andy Morsell, P.E. > Spatial In

RE: [mapguide-users] GDAL FDO Issues

2009-06-17 Thread Andy Morsell
No, you're path should be Server\bin\gdalplugins. See this page: http://trac.osgeo.org/fdo/wiki/FdoGdalNotes#FDO3.3.0MapGuide2.0.0 Andy Morsell, P.E. Spatial Integrators, Inc. 47° 46' N 116° 49' W www.SpatialGIS.com -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailt

[mapguide-users] GDAL FDO Issues

2009-06-17 Thread Nichols, Mark A.
I'm working with MGOS 2.1. I did have my sid's working in 2.0 but no longer when I upgraded. Yes, the coordinate system on the data does match that of the map. I turned on the debugging but don't see anything new in the log. I think that I may have my files in a wrong locaton. Here's my file s

[mapguide-users] RE: Spatial Query

2009-06-17 Thread Dave Wilson
You could do a spatial query using a circle in a loop continually increasing the radius each time until you get a result. Setting the initial radius and the increments of the circle probably depends on the coordinate system of the data although this is similar to the logic in the selection for a

[mapguide-users] Spatial Query

2009-06-17 Thread Berdel, Brian
What is the best approach to performing a spatial query as such that a road segment closest to a point is selected? Any examples out there? Not sure if OpenLayers or Mapguide Api would be best, but appreciate any suggestions. Thanks! Brian Important notice t

RE: [mapguide-users] Intersects selection layer

2009-06-17 Thread Dave Wilson
If you use the geometry in your selection you could loop through all the visible layers in your map and execute a SelectFeatures spatial query using intersects as the spatial operation. If your intersects result returns at least one value in the featurereader you can add the layer to your list.

Re: [mapguide-users] Mapguide Crashing IIS (w3wp.exe) service or vice Versa

2009-06-17 Thread Tony
Hi i have the same issue with win2003 server sp2. and mge 2009 anyone has a clue. i thought my installation or server has issue so i got fresh server and did new installation and the problem was there. i think we should have ticket for this issue ?? tony Flipper wrote: > > Keep getting this

[mapguide-users] Can't log into Server via Maestro

2009-06-17 Thread Tom Rodgers
Can't get remote access to Server. Can get in using map studio but not thru Maestro. Any ideas. Happened once before only fix was uninstalled both app including IIS. Then start over Tom This is the error I get <>___ mapguide-users mailing l

[mapguide-users] Intersects selection layer

2009-06-17 Thread ehsan
hi, i would like to know how create list of layer that intersects with the selection layer..? Thanks for your help, ehsan -- View this message in context: http://n2.nabble.com/Intersects-selection-layer-tp3094063p3094063.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___

[mapguide-users] Missing sessionId in FUSION 2 during the first loading

2009-06-17 Thread Rodolfo Moreno
Hi All, my thememain.aspx page which is inside of the taskpane widget rises an error in the first time that the application is loaded because Fusion 2 is not sending the sessionId. However the itself page works appropiately when I select it from the TaskContextMenu, after of the first loading. Th

RE: [mapguide-users] Mapguidesever crash abruptly

2009-06-17 Thread Jonio, Dennis (Aviation)
Friends, please bare with me, this is one of the BEST and KINDEST forums I have ever used but this is going to far ...!!! YOU, sathish, have got to be kidding with this question!!! ... I would prefer your jokes be done elsewhere. No regards, dennis -Original Message- From: mapguide-users

[mapguide-users] Mapguidesever crash abruptly

2009-06-17 Thread sathishpsk9
Hi all, My mapguide sever stop abruptly. Can anyone why exactly this happens ? Thanks & Regards sathish -- View this message in context: http://n2.nabble.com/Mapguidesever-crash-abruptly-tp3093564p3093564.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___

Re: [mapguide-users] MGCooker and tile format

2009-06-17 Thread Zac Spitzer
there is an option in serverconfig.ini for tileformat z On Wed, Jun 17, 2009 at 11:44 PM, Kenneth Skovhede, GEOGRAF A/S wrote: > IIRC, MapGuide always produce 24 bit PNG files. > When you request a JPG or PNG8, MapGuide reads the PNG > and encodes it to the correct format. > > So I don't think yo

Re: [mapguide-users] MgCooker

2009-06-17 Thread Kenneth Skovhede, GEOGRAF A/S
The MaestroAPI can request tiles, and as such generate tiles. The latest preview version of Maestro contains MgCooker, and can generate tiles either by using the UI, or from a commandline. You can download it here: http://trac.osgeo.org/mapguide/wiki/maestro/Downloads (Scroll down to see preview

Re: [mapguide-users] MGCooker and tile format

2009-06-17 Thread Kenneth Skovhede, GEOGRAF A/S
IIRC, MapGuide always produce 24 bit PNG files. When you request a JPG or PNG8, MapGuide reads the PNG and encodes it to the correct format. So I don't think you can get MapGuide to produce PNG8 or JPG tiles. I'm gladly corrected :) Regards, Kenneth Skovhede, GEOGRAF A/S Ran Mahiru skrev: Hi

[mapguide-users] Modify layout with anonymous user

2009-06-17 Thread euskalmap
Hi, I modify, by c# script, the name of the layout resource; i use the MgUserInformation function with Anonymous user without password. sample1 : In mapguide administrator this user have no role => so when i load the page i have this message : Permission denied to resource: Session:98d50e40-

[mapguide-users] MgCooker

2009-06-17 Thread sathishpsk9
Hi all, I want to usage MgCooker , can any one tell with which version maestro it is available ? it can through UI or programming . Thanks & Regards Satish -- View this message in context: http://n2.nabble.com/MgCooker-tp3091639p3091639.html Sent from the MapGuide Users mailing

Re: [mapguide-users] Connect to PostGis3.2 data

2009-06-17 Thread euskalmap
Hi, So i have send the response of your query; it seems ok. Have you another idea? Is another person having problem with provider for postgis 3.2 thanks -- View this message in context: http://n2.nabble.com/Connect-to-PostGis3.2-data-tp2980072p3091553.html Sent from the MapGuide Users mailing l

[mapguide-users] MGCooker and tile format

2009-06-17 Thread Ran Mahiru
Hi, I'm using Maestro to pre-generate the tile cache but I was wondering... is there a way to control the tile image format? I'm not sure what the internals of Maestro are... I'd prefer to have my tiles be PNG8 to reduce the cache size... ___