[mapguide-users] Link to Fusion Demo App

2009-07-28 Thread Alex Fordyce

I noticed that the link from the Live Application Gallery to the
Demonstration of Fusion application
(http://demo01.dmsolutions.ca/mapguide/fusion/demo/) forwards the user to a
different site. 

This might confuse a user expecting to see an application using the Fusion
layout bundled with MapGuide. 

-- 
View this message in context: 
http://n2.nabble.com/Link-to-Fusion-Demo-App-tp3346746p3346746.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] Supported WMS and WFS in MapGuide

2008-11-05 Thread Alex Fordyce

I had to put this down for a bit, but... now to come back full circle. I was
successful connecting to MG WMS using ArcMap 9.3 - (I upgraded from 9.2). I
am using MapGuide 2.0.2 and mg studio 2009. Coordinate system was NAD83 Zone
III FT. 

I'm not sure what the exact issue was but two things changed: 1) I upgraded
to ArcMap 9.3 and 2) I decided not to use the Sheboygan sample data. Could
see the new data fine. 

Thanks for your previous response on this issue. 


-- 
View this message in context: 
http://www.nabble.com/Supported-WMS-and-WFS-in-MapGuide-tp19968309p20352980.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: Re[mapguide-users] nderingService on MGOS 2.0.2

2008-10-17 Thread Alex Fordyce

Well, I don't know if it's a real bug. The Developers Guide shows the
parameters as uCase as does the Server API doc. Maybe a mention of this in
the dev guide would help some people (it is the only parameter that is case
sensitive). Of course I'll never do that again, but it may save someone else
from a mild headache.  My feeling is that it doesn't really need to be
logged as a bug. 



zspitzer wrote:
 
 there's a few case sensitive gotcha's like that with mapguide...
 
 worth filing a bug?
 
 On Fri, Oct 17, 2008 at 11:41 AM, Alex Fordyce [EMAIL PROTECTED]
 wrote:

 Kenneth,

 I don't know whether to laugh or cry, but that was it! Changed png to
 PNG and it works great now.

 Thank you so much.

 Regards,
 alex


 Kenneth Skovhede, GEOGRAF A/S wrote:

 I use the GETMAPIMAGE function extensively, which I belive is the same
 function, and it works great.
 What line causes the error?
 Have you tried with PNG instead of png?

 Regards, Kenneth Skovhede, GEOGRAF A/S



 Alex Fordyce skrev:
 Has anyone been successful using the RenderingService using release
 2.0.2? It
 does not seem to be working for me. My install is MGOS 2.0.2 ,.NET, and
 IIS.

 I am trying to save a map as a PNG to my local drive.

 I get the following error: An unclassified exception occurred. and no
 file
 is created. Yes, c:\temp exists. :)

 Sample C# code:

 MgByteReader byteReader = renderingService.RenderMap(map, selection,
 mapExtent, 650, 650, bgcolor, png );
 MgByteSink byteSink = new MgByteSink(byteReader);
 string fileName = c:\\temp\\myMap.png;
 byteSink.ToFile(fileName);

 Any suggestions or success stories would be welcomed.

 thanks.
 alex


 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



 --
 View this message in context:
 http://www.nabble.com/RenderingService-on-MGOS-2.0.2-tp20005723p20023938.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

 
 
 
 -- 
 Zac Spitzer -
 http://zacster.blogspot.com (My Blog)
 +61 405 847 168
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 

-- 
View this message in context: 
http://www.nabble.com/RenderingService-on-MGOS-2.0.2-tp20005723p20035930.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] Supported WMS and WFS in MapGuide

2008-10-17 Thread Alex Fordyce

Via WMS I've tried to serve the Sheboygan sample data to ArcGIS 9.2 and
haven't really been successful yet. I'm using mgos 2.0.2 and both mgos and
arcgis are on the same internal domain. 

ArcGIS sees my mg WMS server and pulls the layers over. However, the layers
do not display.

The documentation for both MG and ArcGIS claim to support OGC:WMS 1.1.1

Has anyone been successful using this configuration? Any ideas?

thanks,
alex



zspitzer wrote:
 
 I think you can test the server side capabilities using the web tier tests
 which allows passing a version
 
 http://locahost:8008/mapguide/mapagent/
 
 there are a few quirks with WMS in there, GetMap returns only layers (
 and a list of them )
 rather than maps, there's no caching and or http cache semantics either
 
 this document gives a nice nice overview of WMS support tho
 
 http://feeds.autodesk.com/servlet/JiveServlet/download/233-594160-5688489-163673/ConfiguringAWMSFeatureSource.doc
 
 
 
 On Fri, Oct 17, 2008 at 7:12 AM, BradM [EMAIL PROTECTED] wrote:

 WMS is critical to the success of my mapguide applications.   Can anyone
 answer Kenneth?

 Kenneth Skovhede, GEOGRAF A/S wrote:

 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 between being
 a client and being a server.
 There was no apparent mentioning of WMS/WFS versions on the FDO website
 either.


 My questions are:
 1. What versions are supported when MapGuide is a WMS/WFS server?
 2. What versions are supported when MapGuide is a WMS/WFS client?
 3. Does MapGuide support WFS-T as a server?
 4. Does MapGuide support WFS-T as a client?
 5. How are the OGC certifications for server/client WMS/WFS coming
 along?

 --
 Regards, Kenneth Skovhede, GEOGRAF A/S


 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



 --
 View this message in context:
 http://www.nabble.com/Supported-WMS-and-WFS-in-MapGuide-tp19968309p20016664.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

 
 
 
 -- 
 Zac Spitzer -
 http://zacster.blogspot.com (My Blog)
 +61 405 847 168
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 

-- 
View this message in context: 
http://www.nabble.com/Supported-WMS-and-WFS-in-MapGuide-tp19968309p20037000.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] GETMAPLEGENDIMAGE options?

2008-10-17 Thread Alex Fordyce

I noticed this in 1.x and I still see this problem in 2.0.2. I too am
interested in documentation and/or workaround within the layout. C#
examples? 



andrew.demerchant wrote:
 
 Is there any documentation about the GETMAPLEGENDIMAGE mapagent 
 operation? Currently, the legend image that I'm getting is pretty bad 
 (note the attached image)...I'd like to be able to make a larger font 
 size, and to be able to get rid of the border (or at least make the 
 legend be /_inside_/ of it!). Anyone?
 
 
 -- 
   *Andrew DeMerchant*
 *Computer Technologist*
 ph.1-877-2GEMTEC x.163
 fax 506-453-9470
 
 /GEMTEC Limited http://www.gemtec.ca
 /191 Doak Road
 Fredericton, NB, Canada
 E3C 2E6
 
 
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 

-- 
View this message in context: 
http://www.nabble.com/GETMAPLEGENDIMAGE-options--tp20021561p20037105.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] nderingService on MGOS 2.0.2

2008-10-15 Thread Alex Fordyce

Has anyone been successful using the RenderingService using release 2.0.2? It
does not seem to be working for me. My install is MGOS 2.0.2 ,.NET, and IIS.

I am trying to save a map as a PNG to my local drive. 

I get the following error: An unclassified exception occurred. and no file
is created. Yes, c:\temp exists. :) 

Sample C# code:

MgByteReader byteReader = renderingService.RenderMap(map, selection,
mapExtent, 650, 650, bgcolor, png ); 
MgByteSink byteSink = new MgByteSink(byteReader); 
string fileName = c:\\temp\\myMap.png; 
byteSink.ToFile(fileName);  

Any suggestions or success stories would be welcomed.

thanks.
alex

-- 
View this message in context: 
http://www.nabble.com/RenderingService-on-MGOS-2.0.2-tp20005723p20005723.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] Remove layer C#

2007-09-06 Thread Alex Fordyce

Worked perfectly. Thank you very much. Now my application allows the user to
create multiple queries on the same query layer. Rather than creating a
new layer for each query. 

Thanks again. 




Jackie Ng wrote:
 
 Remove() is expecting a MgLayerBase object, you are passing in a string.
 Hence the compilation error.
 
 Maybe try something like this instead:
 
 MgMap map = new MgMap(siteConnection);
 map.Open(mgMapName);
   
 MgLayerCollection layerCol = map.GetLayers();
 string layerName = myLayer;
 
 MgLayer layerToRemove = null;
 foreach(MgLayer layer in layerCol)
 {
   if(layer.Name == layerName)
   {
 layerToRemove = layer;
 break;
   }
 }
 
 if(layerToRemove != null)
 {
   layerCol.Remove(layerToRemove);
 }
 
 
 - Jackie.
 
 
 Alex Fordyce wrote:
 
 I'm to see if a layer exists and remove it if it exists. The layer would
 have been saved as a temporary resource. Here is the code.  
 
 // get the map
 MgMap map = new MgMap(siteConnection);
 map.Open(mgMapName);
  
 MgLayerCollection layerCol = map.GetLayers();
  
 if(layerCol.Contains(myLayer))
 {
  layerCol.Remove(myLayer);
 }
  
  Add myLayer code here .
 
 I get the following error whether or not the layer exists:
 
  Compiler Error Message: CS1502: The best overloaded method match for
 'OSGeo.MapGuide.MgLayerCollection.Remove(OSGeo.MapGuide.MgLayerBase)' has
 some invalid arguments
 
 Source Error:
 
 Line 42: if(layerCol.Contains(myLayer))
 Line 43: {
 Line 44: layerCol.Remove(myLayer);
 Line 45: }
 Line 46: 
 
 Anyone have any suggestions?
 
 Thanks in advance.
 
 alex
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Remove-layer-C--tf4388428s16610.html#a12526003
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] mgos1.2 asp.net dev samples

2007-08-01 Thread Alex Fordyce

Hi,

Has anyone been using mgos1.2 asp.net dev samples? More specifically, I'm
refering to the dev samples that you would download and then access locally
at http://servername/mapguide/dotnetsamples/main.aspx. 

For some reason the Select Features and List Selected Features examples
under Working With Feature Data in the Basic Samples are not working for
me. The other function samples are working fine.

Has anyone been working with these samples successfully?

many thanks.
alex
-- 
View this message in context: 
http://www.nabble.com/mgos1.2-asp.net-dev-samples-tf4203025s16610.html#a11954824
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