[mapguide-users] Supported WMS and WFS in MapGuide

2008-10-14 Thread Kenneth Skovhede, GEOGRAF A/S
If found the following document describing the versions of WMS and WFS supported in MapGuide: http://mapguide.osgeo.org/faq_ogcserices.html The page appears quite outdated: as soon as the FDO providers for WMS and WFS are available. The above mentioned page is not making a clear distinciton

Re: [mapguide-users] Change map scale or get min and max scale from layer

2008-10-14 Thread Kenneth Skovhede, GEOGRAF A/S
IIRC, IsVisible() is the same as GetVisible(), which is a property that determines if the layer is visible. If the layer is visible, it will be displayed, but only appears in the map at predefined scale ranges. The scale ranges are actually present in the layer object, but not accesible from

[mapguide-users] Change map scale or get min and max scale from layer

2008-10-14 Thread Lukas Hybner
Hi all, I have a problem when I show tree of layers. I need to know if the layer is Visible or not. For Example client send scale=500 and some layers is visible from 1 to 4000. When I want to know if the layers is visible, I use method isVisible(). This method return always true because

Re: [mapguide-users] programmatically add layer to initial map

2008-10-14 Thread Galois
Hello, if u find a way to solve your problem, can u plZ show me some sample code. I'm trying also to add a layer via .NET and I'm going really crazy with that thing... Thx in advance! Carl Grice wrote: Hi, I am trying to programmatically filter and add a layer to a map that exists in

Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET - C#)

2008-10-14 Thread Galois
First of all, thank u fro your reply. I don't get why should I create a temp layer. I have some coordinates in an XML file, and I just want to display them on an existing layer. Though I tried to create a new layer, it does not appear in my maps layers. That's what I did...

RE: [mapguide-users] difficulty to publish file raster

2008-10-14 Thread Dave Wilson
Check your php file upload settings in your php.ini. The packaging uses php which limits the file upload size by default. Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jackie Ng Sent: Sunday, October 12, 2008 6:31 PM To:

[mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-14 Thread Carl
I don't know whether it is the issue of Maestro, or MGOS server, or even the FDO provider for SQL server 2008. I have a SQL server 2008 Database with more than 200 tables. some tables has the name with the max length of 64 alpha-beta letters. there is only one table, with name length of 35

RE: [mapguide-users] Maestro: can't find the table containing thegeometry field with SQLServerSpatial

2008-10-14 Thread Jason Birch
Great problem report! Sounds like it might be a missing type map in Maestro. http://trac.osgeo.org/mapguide/browser/trunk/Tools/Maestro/MaestroAPI/Fe atureSetReader.cs#L158 I would suggest adding a Trac Ticket (make sure to set the Component to Maestro) so that Kenneth can address this.

[mapguide-users] SQL Server 2000 FDO

2008-10-14 Thread George McLean
This may be more of a Mapguide Studio question but I will ask it anyway. I have built a datastore in SQL Server 2000 that works will with Autocad Map 2008. I can store and retrieve features using the Autodesk provider for SQL Server. I am using MG Studio 2008 and would like to build a data

Re: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-14 Thread Carl
yes, the exception is exactly fired because of the lost the type map. Then I tried to comment the follow bold line: / public class FeatureSetColumn { internal FeatureSetColumn(string name, int type) {

RE: [mapguide-users] SQL Server 2000 FDO

2008-10-14 Thread Jason Birch
George, Those are part of Autodesk's proprietary SQL Server provider, so yes there are likely licensing issues. It may work with MGOS, but you probably legally have to have a license for MGE to use it. If your client prefers SQL Server you may be better off moving to Map 2009/MGOS2.0.2/SQL

Re: [mapguide-users] Oracle view crashing map server

2008-10-14 Thread btenbroeck
Hi Dragan I don't have anything for you, other than to let you know we have run into the same issue. View works fine under the Autodesk provider, or in Map, and it is specific to a certain view. I posted in the FDO list back on 5/16, but no resolution yet. Basically, I wanted to tie these two

Re: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-14 Thread Kenneth Skovhede, GEOGRAF A/S
I guess there should be an unmapped type - type, to deal with situations like this. You can set it to string, and it should read out just fine. I have created a ticket for the problem: http://trac.osgeo.org/mapguide/ticket/724 As you may have noticed, Maestro issues calls to a web interface on

Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET - C#)

2008-10-14 Thread Kenneth Skovhede, GEOGRAF A/S
Did you look at the buffer sample code in the AJAX viewer? It does exactly what is required, besides inserting your points. About your code: You do not use the resourceIdentifier variable, which means your layer might reference something else. You save the layers to the regular repository,

Re: [mapguide-users] programmatically add layer to initial map

2008-10-14 Thread Kenneth Skovhede, GEOGRAF A/S
This is a PHP version of the same: http://trac.osgeo.org/mapguide/wiki/CodeSamples/PHP/AddLayerToInitialMap If you are using .Net, be aware of the UTF-8 BOM problem, as it validates, but fails to create the map. If you are using .Net, you can try the MaestroAPI:

Re: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-14 Thread Carl
I traced into the code further more, and found the exception occurs while creating a featuresetcolumn with field type of 'varbinary': (as bold line of follow code) public FeatureSourceSchema(XmlNode node, XmlDocument doc, XmlNamespaceManager mgr) {

Re: [mapguide-users] Synchro MapGuide with FDO

2008-10-14 Thread Jackie Ng
You can use FDO Toolbox (http://fdotoolbox.googlecode.com) to create a bulk copy task from Oracle to SDF. The bulk copy task has options to delete the data on the [target] before copying from the [source] You can save this task to an xml file and have it run on a regular schedule. - Jackie

Re: [mapguide-users] SQL Server 2000 FDO

2008-10-14 Thread George McLean
Thanks for all the guidance Jason. I will take a look at the spatial support in SQL Server 2008 but I am not sure if my client is ready to update their SQL Server. My original problem was fixed by restarting mapguide service. Thanks again, George Jason Birch wrote: George, Those are part