Re: [mapguide-users] How to get centre of buffer?

2008-12-09 Thread Kenneth Skovhede, GEOGRAF A/S
Sorry, I have no guides or helpfull lines. There is a .chm file on the main page, which should help you out. Regards, Kenneth Skovhede, GEOGRAF A/S jamesdudden skrev: Kenneth Skovhede, GEOGRAF A/S wrote: I prefer to use the TF.Net suite: http://code.google.com/p/tf-net/ Thanks fo

Re: [mapguide-users] Problem with Layer Editing

2008-12-09 Thread Kenneth Skovhede, GEOGRAF A/S
You should not modify the viewer code. You should not open the viewer code with visual studio. If you consider the viewer a "black box", you will find upgrading much easier later on. The viewer does not follow MS best practices, and does not use code-behind. Instead, you should create a seperat

[mapguide-users] cryptic error message whilst tiling

2008-12-09 Thread Zac Spitzer
I have been getting this error whilst tiling, anyone got any ideas? Error: The specified object was not found. StackTrace: - MgTileServiceHandler.ProcessOperation line 83 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\tile\TileServiceHandler.cpp - MgOpGetTile.Ex

[mapguide-users] How On/Off Right Side Panel

2008-12-09 Thread ajid1980
My Situation. How i Wanna On/Off the "Meastro - Right Side" panel - content-task list?? Pls tell me how d script-invoke script function?"Infodiv" --- Maestro : Left Side How To Invoke Script to On/Off Legend Status:OK ---

[mapguide-users] Problem with Layer Editing

2008-12-09 Thread padmini godavarthi
Hi iam using mapguide opensource 2.0(with .net 2.0 +IIS 5.1) i already asked the question 1)How to edit the layer some one give me the answer as follows Read setup from querystring or form Dim sessionID As String = Request.Params("SESSIONID") Dim mapdefinition As String = Request.Params("MA

Re: [mapguide-users] How to get centre of buffer?

2008-12-09 Thread jamesdudden
Kenneth Skovhede, GEOGRAF A/S wrote: > > I prefer to use the TF.Net suite: > http://code.google.com/p/tf-net/ > Thanks for the link Kenneth - I have had a quick look at the link but can't see much in the way of tutorials or guides. Could you point me in the direction of some usefull help file

Re: [mapguide-users] How to highlight an area on a map?

2008-12-09 Thread Kenneth Skovhede, GEOGRAF A/S
This is a method I use for buffering an object, and reading the resulting wkt: public static string Buffer(string inputWKT, double bufferSize) { MgWktReaderWriter wktReaderWriter = new MgWktReaderWriter(); MgGeometry geom = wktReaderWriter.Read(inputWKT); geom = geom.Buffer(bufferSize,

Re: [mapguide-users] How to highlight an area on a map?

2008-12-09 Thread jamesdudden
Kenneth Skovhede, GEOGRAF A/S wrote: > > 2) You can use the SetSpatialFilter method on the query object. An > alternative would be to > extract the WKT from the object and use the GEOMFROMTEXT method in the > query like: > Thanks Kenneth you have given me a few starting points to try. Could

Re: [mapguide-users] FeatureSet XML returned by QUERYMAPFEATURES for WFS layer

2008-12-09 Thread Kenneth Skovhede, GEOGRAF A/S
The FDO provider exposes the datasource properties, including the primary key setup. How this is done depends on the provider. For Oracle/MySQL/MSSql the info is extracted from the table information. I have found no documentation on configuring this manually, and right now I can only refer you

Re: [mapguide-users] FeatureSet XML returned by QUERYMAPFEATURES for WFS layer

2008-12-09 Thread Kenneth Skovhede, GEOGRAF A/S
I'm not sure how you would do this. You can look at the Maestro code for the extensions editor. I recall it was a lot of trial and error before it worked. As the result below shows no tables, this explains why you cannot select a table in the extension editor in Maestro. You may try to raise

Re: [mapguide-users] FeatureSet XML returned by QUERYMAPFEATURES for WFS layer

2008-12-09 Thread gingerbbm
OK... any idea how I should configure the extension? Does MapGuide assume a particular extension name for primary keys? -- View this message in context: http://n2.nabble.com/FeatureSet-XML-returned-by-QUERYMAPFEATURES-for-WFS-layer-tp1614063p1633862.html Sent from the MapGuide Users mailing list

Re: [mapguide-users] FeatureSet XML returned by QUERYMAPFEATURES for WFS layer

2008-12-09 Thread randomtask
Kenneth Skovhede, GEOGRAF A/S wrote: > > You can press the "Edit Extensions" button to set up the primary key. > If no such "extensions" are entered, the datasource provides the > information. > In this case, you can't see it in Maestro. > > You can use the DescribeFeatureSchema call to exami

Re: [mapguide-users] How to get centre of buffer?

2008-12-09 Thread Kenneth Skovhede, GEOGRAF A/S
I'm unsure what is supported by FDO/MapGuide. When the work becomes a bit complicated like this, I prefer to use the TF.Net suite: http://code.google.com/p/tf-net/ It provides some easy to use spatial operations, and can read MapGuide directly, as well as WKT or GML. Regards, Kenneth Skovhede,

Re: [mapguide-users] How to highlight an area on a map?

2008-12-09 Thread Kenneth Skovhede, GEOGRAF A/S
1) Not sure, but perhaps one of these are what you want: http://edndoc.esri.com/arcobjects/9.2/java/api/arcobjects/com/esri/arcgis/geometry/Polygon.html#touches(com.esri.arcgis.geometry.IGeometry) Look at the touches, intersects, disjoint, etc. Most of these methods should be supported through FD

Re: [mapguide-users] FeatureSet XML returned by QUERYMAPFEATURES for WFS layer

2008-12-09 Thread Kenneth Skovhede, GEOGRAF A/S
You can press the "Edit Extensions" button to set up the primary key. If no such "extensions" are entered, the datasource provides the information. In this case, you can't see it in Maestro. You can use the DescribeFeatureSchema call to examine the setup of a FeatureSource: http://localhost/m

[mapguide-users] How to get centre of buffer?

2008-12-09 Thread jamesdudden
Hi, I have 3 questions to regarding buffers: 1. Is it possible to return the centre coordinates of a buffer? 2. Is it possible to have 2 buffers (unmerged) that cross each other and return results (from a query) only where the buffers cross paths? 3. And to follow number 2, is it possible to r

[mapguide-users] How to highlight an area on a map?

2008-12-09 Thread jamesdudden
Hi, This i am finiding is a bit more complex than it sounds and i really don't know where to start so any help or advice would be appreciated. I need to create a complex query and highlight the results as a new layer. My map has a layer of fields, a layer of aonb's (areas of natural beauty) and

Re: [mapguide-users] FeatureSet XML returned by QUERYMAPFEATURES for WFS layer

2008-12-09 Thread gingerbbm
Hi Kenneth Kenneth Skovhede, GEOGRAF A/S wrote: > > You cannot select items from FeatureSources, if the FeatureSource has no > primary key. > Could you elaborate on this a bit? If I look in Maestro at the XML for a WFS connector, or an SDF connector, or an Oracle connector, there's nothing t

[mapguide-users] How to create Unified Diff Patch with Binary Gif

2008-12-09 Thread Bruno Scott
Hi all I'm trying to create un patch with TurtoiseSVN. I have problem adding gif files in it. I have this error while adding the gif icon file to TurtoiseSvn: Error: File 'D:\svn.osgeo.org.mapguide.trunk\MgDev\Web\src\stdicons\zoomout.cur' has binary mime type property The mime type is set as th

RE: [mapguide-users] New King.Oracle 0.8 - improved performance

2008-12-09 Thread born2bwild
Hi, I test with a new instance with only 1 table like : Nom NULL ? Type - GID NUMBER(10) GEOMETRY