Re: [mapguide-users] .NET viewer sample: query tool

2009-05-14 Thread nasp
Hi, I specified a coordinate system with mapguide studioall my points disappeared from the map, not moved in another place, just disappeared. Also, obviously, query tool doesn't work. There's something about coordinate system, MG 2.0.2 and FDO that I don't understand, but I haven't focused

Re: [mapguide-users] .NET viewer sample: query tool

2009-05-14 Thread Stefan Dalakov
Check if the coordinates fall within the range for the coordinate system you have specified. And I may be wrong, but some time ago, I remember something, that points coming from ODBC data source should be in Lat/Lon coordinates. This, I repeat again, is something that I am not quite sure if it

RE: [mapguide-users] .NET viewer sample: query tool

2009-05-14 Thread Dave Wilson
...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Stefan Dalakov Sent: Thursday, May 14, 2009 4:06 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] .NET viewer sample: query tool Check if the coordinates fall within the range for the coordinate system you have

Re: [mapguide-users] .NET viewer sample: query tool

2009-05-13 Thread Jackie Ng
If you are using MapGuide Studio, the feature source editor allows you to specify a coordinate system for your point geometry tables. I don't know if Maestro has exposed this same capability. - Jackie nasp wrote: The problem is for layer with FDO Provider: OSGeo.ODBC and it's ok for SDF

Re: [mapguide-users] .NET viewer sample: query tool

2009-05-13 Thread Kenneth Skovhede, GEOGRAF A/S
I have recently fixed the ODBC spatial context problem in Maestro, but not yet released a preview build. If you build Maestro from source, it should work. Regards, Kenneth Skovhede, GEOGRAF A/S Jackie Ng skrev: If you are using MapGuide Studio, the feature source editor allows you to

[mapguide-users] .NET viewer sample: query tool

2009-05-12 Thread nasp
Hi, I downloaded .NET sample application. Everything works fine but not the query tool. In query\classes\query.aspx, Execute() procedure, I got an error (MgUnclassifiedException) at this line centerPoint = (MgPoint) centerPoint.Transform(csTransform); Can someone help me,

Re: [mapguide-users] .NET viewer sample: query tool

2009-05-12 Thread Jackie Ng
Are you using the latest release of MapGuide? Also, do your maps/layers/feature sources have defined coordinate systems? - Jackie nasp wrote: Hi, I downloaded .NET sample application. Everything works fine but not the query tool. In query\classes\query.aspx, Execute() procedure, I got

Re: [mapguide-users] .NET viewer sample: query tool

2009-05-12 Thread nasp
Thank you for your answer. Mapguide version is 2.0.2 with FDO 3.4 The map has EPSG=3003 Any ideas? Jackie Ng wrote: Are you using the latest release of MapGuide? Also, do your maps/layers/feature sources have defined coordinate systems? - Jackie nasp wrote: Hi, I

Re: [mapguide-users] .NET viewer sample: query tool

2009-05-12 Thread Jackie Ng
If you look at the server error logs, do they reveal any more information at the time of failure? - Jackie nasp wrote: Thank you for your answer. Mapguide version is 2.0.2 with FDO 3.4 The map has EPSG=3003 Any ideas? Jackie Ng wrote: Are you using the latest release of

Re: [mapguide-users] .NET viewer sample: query tool

2009-05-12 Thread nasp
Unfortunately the log doen't provide more information. I think the problem is about coordinate system transformation, but I don't know what is. Jackie Ng wrote: If you look at the server error logs, do they reveal any more information at the time of failure? - Jackie nasp wrote:

Re: [mapguide-users] .NET viewer sample: query tool

2009-05-12 Thread nasp
The problem is for layer with FDO Provider: OSGeo.ODBC and it's ok for SDF layers. OSGeo.ODBC data connection has no spatial context information (SDF layer connection has it!). Do you know how can I provide spatial context information for ODBC geometry? Regards, Naspi Jackie Ng wrote: If