Re: [mapguide-users] WMS featuresource + projection problem
I don't have a solution, but here is what I do know: MapGuide does not support raster reprojection yet, but its in the making. If you create a new map and insert your raster, you will get the message below. The error message explains that the map does not have a coordinate system, so you can't convert the raster to the other projection (which is empty). You could send in a enhancement request and ask that an empty coordinate system should skip the re-projection (an obvious default IMO). Apparently MapGuide makes a map on-the-fly for the WMS request, and for some reason, it will not set the projection for the map. Have you tried to set the projection override on the raster to something like XY-M and see if you get another error message? Beware that currently MapGuide Studio uses the Mentor projection library, where as MGOS uses the PROJ.4 library, so if you pick a coordinate system in Studio, it might not work in MGOS. This will change as Autodesk has purchased the Mentor library, and released it as open source, and it will be included in the next version of MapGuide. For now you can try to set the coordinate system override using Maestro, as it uses the actual server coordinate systems: http://trac.osgeo.org/mapguide/wiki/maestro Regards, Kenneth Skovhede, GEOGRAF A/S web skrev: Hi all, I have a wms feature source which natively outputs datas whith the fellowing projection: EPSG:21781 (swiss grid) My Map projection is also set as CH1903.LV03/01 (CH1903.LV03/01) (swiss grid) so the feature source should be compatible. By accessing this layer I got the fellowing error: - MgMappingUtil.StylizeLayers line 786 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\mapping\MappingUtil.cpp Failed to stylize layer: orthophoto Raster transformation is not supported. The coordinate system (EPSG:21781) of layer orthophoto cannot be different than the coordinate system () of the map. It seems that mapguide did not recognize the projection used in the map, if we look at the message: cannot be different than the coordinate system () of the map. The parenthese is empty... - Is raster reprojection really impossible, like the stack trace tells? - Do I have to set something for the proj4 library? any hint about adding a WMS feature source with another native projection than WGS84 would be appreciated :-) Rémy ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] How to do sample application?
Hi, iam using Mapguide opensource 2.0 ( with .net 2.0 +IIS). Now i want to load a map in my own application (using ajax viewer) 1) How to start the application ( i mean any sample code or documents for starting the development) i have downloaded the dotnetviewersample application but i got an error that Server Error in '/dotnetviewersample' Application. HTTP Error 404 - Not Found. Version Information: ASP.NET Development Server 8.0.0.0 If any body knows it plz help me -- View this message in context: http://www.nabble.com/How-to-do-sample-application--tp20617493p20617493.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] New King.Oracle 0.8 - improved performance
Haris, Good morning. Do you wish that I try 8.5? Since someone already reported with not real positive results ... should I wait for 8.6? r, dennis -- View this message in context: http://www.nabble.com/New-King.Oracle-0.8---improved-performance-tp20580002p20618986.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] New King.Oracle 0.8 - improved performance
I am not able to reproduce problem here. Can you try to figure out if that error repeates on particullar layer and send me data of data layer ? Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of FISHeR1 Sent: Friday, November 21, 2008 6:52 AM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] New King.Oracle 0.8 - improved performance Hi, i have query to mapguide agent (i use basic ajax viewer): POST /mapguide/mapagent/mapagent.fcgi HTTP/1.1 OPERATION=GETVISIBLEMAPEXTENTVERSION=1.0.0SESSION=8ae315c8---8 000-005056c8_en_58CC4C090AFC0AFB0AFAMAPNAME=nkmk_kingSEQ=0.6207633 906731138SETDISPLAYDPI=96SETDISPLAYWIDTH=1059SETDISPLAYHEIGHT=786SET VIEWSCALE=319540.88169447583SETVIEWCENTERX=-34863.025797143855SETVIEWC ENTERY=20696.16144892582CLIENTAGENT=Ajax%20Viewer There are error messages: 2008-11-21T11:40:22 Error: An unclassified exception occurred. StackTrace: - MgRenderingServiceHandler.ProcessOperation line 83 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services \rendering\RenderingServiceHandler.cpp - MgOpRenderDynamicOverlay.Execute line 109 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services \rendering\OpRenderDynamicOverlay.cpp - MgServerRenderingService.RenderDynamicOverlay line 305 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services \rendering\ServerRenderingService.cpp An unclassified exception occurred. Error: An unclassified exception occurred. StackTrace: - MgOperationThread.ProcessOperation line 434 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\core\Ope rationThread.cpp - MgResourceServiceHandler.ProcessOperation line 80 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services \resource\ResourceServiceHandler.cpp An unclassified exception occurred. I use new King.Oracle 0.8.5 When i used King.Oracle 0.7.5 i had not errors :) -- View this message in context: http://www.nabble.com/New-King.Oracle-0.8---improved-performance-tp20580 002p20615615.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] New King.Oracle 0.8 - improved performance
There will be no .6 soon :) I can't reproduce problem and changes from .2 to .5 were not so big. .5 has ordered class names when generating FDO schema. Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of djonio Sent: Friday, November 21, 2008 11:55 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] New King.Oracle 0.8 - improved performance Haris, Good morning. Do you wish that I try 8.5? Since someone already reported with not real positive results ... should I wait for 8.6? r, dennis -- View this message in context: http://www.nabble.com/New-King.Oracle-0.8---improved-performance-tp20580 002p20618986.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Problem Combine With Nasa World Wind..
my link when i browsing then mapguide maestro is : http://localhost/mapguide/mapviewerajax/?WEBLAYOUT=Session%3a04aa9828--1000-8003-001f298d8275_en_7F010AFC0AFB0AFA%2f%2f1260ab73-4a70-429b-9a55-4f038f06b8c0.WebLayoutSESSION=04aa9828--1000-8003-001f298d8275_en_7F010AFC0AFB0AFA Then How i wanna change http://localhost/mapguide/change it mapviewerajax to other file because it cannot load it on NWW.. now i wanna to make a hyperlink like geoserver format.. ex: http://localhost:8080/geoserver/wms?bbox=101.6157742265311,3.0333412429009274,101.75878431468011,3.244241380776437styles=Format=application/openlayersrequest=GetMaplayers=MAPwidth=423height=550srs=EPSG:4326 the hyperlink look like this : http://localhost:8080/geoserver/wms? i mean have a WMS? or anyone have do this application Nasa World Wind?? Thanx -- View this message in context: http://www.nabble.com/Problem-Combine-With-Nasa-World-Wind..-tp20620080p20620080.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Convert Points to Lines
I am working on a vehicle tracking application and I think displaying the points will be very straightforward. However, I want to convert these points to lines or routes.Any idea on how to accomplish this? Thanks, Brian ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] New King.Oracle 0.8 - improved performance
Haris, et.al., Using 8.5 w/logging and MG 2.0.2 I went the full route to a web site with a couple of layers. Good news ... Speed is very good! Yes, a geom that I select is in fact selected, the properties appear. However, the geom is NOT highlighted. (new feature is guess). There does appear to be some issues during the Layer create phase. It seems that if one is very, very deliberate and does not change his mind and select a different class, things go well, otherwise ... ooopss. r, dennis -- View this message in context: http://www.nabble.com/New-King.Oracle-0.8---improved-performance-tp20580002p20621711.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] New King.Oracle 0.8 - improved performance
Output from the log file: ... 325-10-21 13:59:41c_KgOraConnection3::Open OK 325-10-21 13:59:41c_KgOraConnection3::GetConnectionState 325-10-21 13:59:41c_KgOraConnection3::GetConnectionState 325-10-21 13:59:41c_KgOraConnection::CreateCommand 0 'FdoCommandType_Select' 325-10-21 13:59:41c_KgOraConnection3::GetConnectionState 325-10-21 13:59:41c_KgOraConnection3::GetConnectionState 325-10-21 13:59:41c_KgOraSelectCommand.Execute: Command Parameters 325-10-21 13:59:41c_KgOraSelectCommand.Execute Select List: 'SHAPE,KEYVAL' 325-10-21 13:59:41c_KgOraSelectCommand.Execute Filter: 'SHAPE ENVELOPEINTERSECTS GeomFromText('POLYGON ((325400 701400, 325600 701400, 325600 701600, 325400 701600, 325400 701400))')' 325-10-21 13:59:41c_KgOraConnection3::GetConnectionString Then I get the usual error: Attempted to read or write protected memory. Nick haris kurtagic wrote: Here is king.oracle 0.8.5 version which has additional logging enabled; http://www.sl-king.com/fdooracle/download/KingOra_0_8_5_log.rar It will log executed sql's in KingOra.log file in same folder as provider. If you try perhaps we can figure out what is going on. Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Adams Sent: Friday, November 21, 2008 12:21 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] New King.Oracle 0.8 - improved performance Hi Harris, I've tried: - Oracle 10.2 instant client - Oracle 11g client Both give the same: Attempted to read or write protected memory... error. I can also concur with FISHeR1: 0.8.4 gives an Unclassified Exception when rendering a layer in MGOS 2.02, using the instant client. I'm not 100% certain, but from recollection 0.8.2 was the last version I saw working in MGOS. Nick haris kurtagic wrote: Which Oracle client and which version are you using ? Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Adams Sent: Thursday, November 20, 2008 5:04 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] New King.Oracle 0.8 - improved performance 0.8.4 is giving the same error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Nick Nick Adams wrote: Ok. I've tried 0.8.3 and I'm now getting: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Nick haris kurtagic wrote: I posted 0.8.3 which should fix first problem. Regarding SDO_FILTER If I remember correcly that is problem with 9.1 ( provider works in 9.2 ? ). I don't have 9 versions available to test but if I look at docs and you try it perhaps we can fix it without me trying it. Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Adams Sent: Thursday, November 20, 2008 3:55 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] New King.Oracle 0.8 - improved performance - I have been using OracleSchema and it was set to the same as the username - Previously I was using 0.7.4. Unfortunately this didn't work. Then I was getting the error: ORA-29900: operator binding does not exist ORA-06553: PLS-306: wrong number or types of arguments in call to 'SDO_FILTER' This I understand to be down to the fact that SDO_FILTER requires 3 arguments in 9i where-as the third one is optional in 10g. I was hoping 0.8.x might solve this. Nick haris kurtagic wrote: I am looking at code and I have two questions : - are you using connection property OracleSchema, and value is same as UserName ? - this has worked for you before release 0.8.2 ? Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Adams Sent: Thursday, November 20, 2008 2:57 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] New King.Oracle 0.8 - improved performance Hi Haris, I've just downloaded version 0.82 a tried it. The problem I'm working on is using the King Oracle provider with .Net to connect to a 9i oracle database. The query I'm making is: SHAPE ENVELOPEINTERSECTS GeomFromText('POLYGON ((325400 701400, 325600 701400, 325600 701600, 325400 701600, 325400 701400))') The current error it's giving me when I try this is: ORA-00904: C.SDO_INDEX_OWNER: invalid identifier Any suggestions would be appreciated. Nick haris kurtagic wrote: Hi, I have released new version of King.Oracle provider 0.8. It is much faster than previous releases. Lot of code is changed. King.Oracle passed my UniTests but it has to be tested more so your feedback is appreciated. List of changes: Improved performance - very significant improvement Support for SelectAggregate FDO schema creation is now faster , especially when
RE: [mapguide-users] New King.Oracle 0.8 - improved performance
Haris, I put the 8.5 w/logging dll's in fdo2fdo. Using FDO Query Data. I did get this a bunch: 'GeometryUtility::CreateFgftContentForCurveSegment': Invalid number of coordinate positions.' And it keeps working ... showing junk on screen. All these geoms have passed VALIDATE_WITH_CONTEXT so I am surprised. r, dennis http://www.nabble.com/file/p20622378/KingOra.log KingOra.log -- View this message in context: http://www.nabble.com/New-King.Oracle-0.8---improved-performance-tp20580002p20622378.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] wms problem
Can anybody connect to this WMS server? http://icvmapas.icv.gva.es/wms I need to connect the schema prueba_wms. I can connect vía AutoCAD Map 3D 2009 and others clients but not with mapguide 2.02. Thanks. -- View this message in context: http://www.nabble.com/wms-problem-tp20622404p20622404.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] New King.Oracle 0.8 - improved performance
Hi! I exported whole Sheboygan sample SDF files to Oracle . After extensively testing with provider version 0.8.5 i had no issues with Sheboygan data. Simon Nick Adams wrote: Output from the log file: ... 325-10-21 13:59:41c_KgOraConnection3::Open OK 325-10-21 13:59:41c_KgOraConnection3::GetConnectionState 325-10-21 13:59:41c_KgOraConnection3::GetConnectionState 325-10-21 13:59:41c_KgOraConnection::CreateCommand 0 'FdoCommandType_Select' 325-10-21 13:59:41c_KgOraConnection3::GetConnectionState 325-10-21 13:59:41c_KgOraConnection3::GetConnectionState 325-10-21 13:59:41c_KgOraSelectCommand.Execute: Command Parameters 325-10-21 13:59:41c_KgOraSelectCommand.Execute Select List: 'SHAPE,KEYVAL' 325-10-21 13:59:41c_KgOraSelectCommand.Execute Filter: 'SHAPE ENVELOPEINTERSECTS GeomFromText('POLYGON ((325400 701400, 325600 701400, 325600 701600, 325400 701600, 325400 701400))')' 325-10-21 13:59:41c_KgOraConnection3::GetConnectionString Then I get the usual error: Attempted to read or write protected memory. Nick haris kurtagic wrote: Here is king.oracle 0.8.5 version which has additional logging enabled; http://www.sl-king.com/fdooracle/download/KingOra_0_8_5_log.rar It will log executed sql's in KingOra.log file in same folder as provider. If you try perhaps we can figure out what is going on. Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nick Adams Sent: Friday, November 21, 2008 12:21 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] New King.Oracle 0.8 - improved performance Hi Harris, I've tried: - Oracle 10.2 instant client - Oracle 11g client Both give the same: Attempted to read or write protected memory... error. I can also concur with FISHeR1: 0.8.4 gives an Unclassified Exception when rendering a layer in MGOS 2.02, using the instant client. I'm not 100% certain, but from recollection 0.8.2 was the last version I saw working in MGOS. Nick haris kurtagic wrote: Which Oracle client and which version are you using ? Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nick Adams Sent: Thursday, November 20, 2008 5:04 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] New King.Oracle 0.8 - improved performance 0.8.4 is giving the same error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Nick Nick Adams wrote: Ok. I've tried 0.8.3 and I'm now getting: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Nick haris kurtagic wrote: I posted 0.8.3 which should fix first problem. Regarding SDO_FILTER If I remember correcly that is problem with 9.1 ( provider works in 9.2 ? ). I don't have 9 versions available to test but if I look at docs and you try it perhaps we can fix it without me trying it. Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nick Adams Sent: Thursday, November 20, 2008 3:55 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] New King.Oracle 0.8 - improved performance - I have been using OracleSchema and it was set to the same as the username - Previously I was using 0.7.4. Unfortunately this didn't work. Then I was getting the error: ORA-29900: operator binding does not exist ORA-06553: PLS-306: wrong number or types of arguments in call to 'SDO_FILTER' This I understand to be down to the fact that SDO_FILTER requires 3 arguments in 9i where-as the third one is optional in 10g. I was hoping 0.8.x might solve this. Nick haris kurtagic wrote: I am looking at code and I have two questions : - are you using connection property OracleSchema, and value is same as UserName ? - this has worked for you before release 0.8.2 ? Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nick Adams Sent: Thursday, November 20, 2008 2:57 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] New King.Oracle 0.8 - improved performance Hi Haris,
[mapguide-users] RE: Convert Points to Lines
You can walk your point records in the order they were retrieved and write them into a line string and write that into an SDF using the various Geometry API, grouping by vehicle of course. Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian Sent: Friday, November 21, 2008 6:09 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Convert Points to Lines I am working on a vehicle tracking application and I think displaying the points will be very straightforward. However, I want to convert these points to lines or routes.Any idea on how to accomplish this? Thanks, Brian ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] RE: Convert Points to Lines
Thanks Dave, that is the logic I was thinking of. Anyone have any samples doing something like this with the API? Brian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wilson Sent: Friday, November 21, 2008 11:31 AM To: MapGuide Users Mail List Subject: [mapguide-users] RE: Convert Points to Lines You can walk your point records in the order they were retrieved and write them into a line string and write that into an SDF using the various Geometry API, grouping by vehicle of course. Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian Sent: Friday, November 21, 2008 6:09 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Convert Points to Lines I am working on a vehicle tracking application and I think displaying the points will be very straightforward. However, I want to convert these points to lines or routes.Any idea on how to accomplish this? Thanks, Brian ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] WMS Image connection
Hi All - I am looking for an image service to put behind my MG map... my map includes two provinces (BC Alberta) so the image service would have to encompass both areas. Has anyone got a suggestion of where I can get image data? I have heard NRCAN has something... or maybe google? Any help is appreciated. Cheers -- View this message in context: http://www.nabble.com/WMS-Image-connection-tp20630103p20630103.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users