[mapguide-users] Fusion .NET API

Berdel, Brian brian.berdel at mcmtrans.com
Mon Jan 28 16:18:41 EST 2008


Ok, thanks Paul.  I'll see what I can do when I get some time.   If
anyone else wants to coordinate and convert a few pages, that would be a
big help too!

Thanks, 


Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Paul
Spencer
Sent: Monday, January 28, 2008 3:56 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Fusion .NET API

Brian,

there is no documentation on the existing PHP scripts except what is  
inline with the code.  I would expect the process to be something like:

1) create MapGuide/asp directory
2) create a *.asp file for each *.php file in the php directory
3) rewrite each *.asp file in ASP.  The PHP code should be pretty  
readable and the MapGuide API is identical (or should be) so it is  
just a matter of changing the syntax around I hope.  I'm sure there  
are different

To get Fusion to use the asp version of the files, you will need to  
edit the config.json file and set the 'technology' from php to asp.   
There will likely be small bugs in the framework that need to be fixed  
at this point because we haven't actually used it with a different  
technology yet.

Cheers

Paul

On 28-Jan-08, at 1:22 PM, Berdel, Brian wrote:

> Has anyone started on this yet? I would happy to help port the  
> existing
> scripts.  But I would like some help getting started if possible...Is
> there any documentation or anything to assist me?
>
> Brian  Berdel
> McMahon Associates, Inc.
> p: 215.283.9444
> www.mcmtrans.com
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Paul
> Spencer
> Sent: Wednesday, January 16, 2008 10:15 PM
> To: MapGuide Users Mail List
> Subject: Re: [mapguide-users] Fusion
>
> Hi Bill,
>
> Fusion is designed to work with other scripting languages on the
> server side but porting the existing scripts to the other languages
> has not been done.  This would be an ideal candidate for contributions
> to the open source community.
>
> Cheers
>
> Paul
>
> On 10-Jan-08, at 8:06 AM, Kimbrell, Bill wrote:
>
>> Are there plans for Fusion to work with .NET?
>>
>> And if so, any idea of dates ?
>>
>> Thanks, Bill Kimbrell
>>
>> -----Original Message-----
>> From: mapguide-users-bounces at lists.osgeo.org
>> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Mike
>> Adair
>> Sent: Wednesday, January 09, 2008 5:17 PM
>> To: MapGuide Users Mail List
>> Subject: Re: [mapguide-users] Fusion
>>
>> Fusion will only work with PHP at this point.
>>
>> For the layer toggling issue, I'm not seeing this bug. Are you  
>> using a
>> tiled map? If so, layer toggling won't work because the tiles are
>> served
>>
>> up with layers on or off as specified by the mapguide server. If
>> you're
>> not using a tiled map, is there a public instance of your app that we
>> can look at?
>>
>> Mike Adair
>>
>> Berdel, Brian wrote:
>>>
>>> Not getting much of a response here...So I'll try another question.
>>>
>>> Does Fusion work with the .NET configuration of IIS or PHP only? I
>>> have tried it the samples on multiple machines and cannot get it to
>>> work. Has anyone got it to work with .NET?
>>>
>>>
>>
>
------------------------------------------------------------------------
>>>
>>> *From:* mapguide-users-bounces at lists.osgeo.org
>>> [mailto:mapguide-users-bounces at lists.osgeo.org] *On Behalf Of
>>> *Berdel,
>>
>>> Brian
>>> *Sent:* Wednesday, January 09, 2008 1:11 PM
>>> *To:* MapGuide Users Mail List
>>> *Subject:* RE: [mapguide-users] Fusion - Layers do not turn off / on
>>>
>>> Some layers actually never load on the samples, and I noticed in
>>> firefix that the status bar says "transferring data from local host"
>>> it just hangs there...
>>>
>>> Any ideas?
>>>
>>>
>>
>
------------------------------------------------------------------------
>>>
>>> *From:* mapguide-users-bounces at lists.osgeo.org
>>> [mailto:mapguide-users-bounces at lists.osgeo.org] *On Behalf Of
>>> *Berdel,
>>
>>> Brian
>>> *Sent:* Wednesday, January 09, 2008 10:10 AM
>>> *To:* MapGuide Users Mail List
>>> *Subject:* RE: [mapguide-users] Fusion - Layers do not turn off / on
>>>
>>> Is everyone else's working correctly? Just wondering if it is
>>> something I did, or didn't do...If I view a map in a regular viewer
>> the
>>> layers work as they are supposed to...However, if I view a fusion
>> sample
>>> or one of my maps in fusion, they do not respond to the  
>>> checkboxes...
>>>
>>> If I try to turn them on or off, nothing happens...
>>>
>>>
>>
>
------------------------------------------------------------------------
>>>
>>> *From:* mapguide-users-bounces at lists.osgeo.org
>>> [mailto:mapguide-users-bounces at lists.osgeo.org] *On Behalf Of
>>> *Berdel,
>>
>>> Brian
>>> *Sent:* Tuesday, January 08, 2008 4:58 PM
>>> *To:* MapGuide Users Mail List
>>> *Subject:* [mapguide-users] Fusion - Layers do not turn off / on
>>>
>>> Just started testing fusion and 2.0...Is anyone else having issues
>> where
>>> their layers will not turn on or off once the map is loaded?
>>>
>>> The fusion samples load up correctly, but when I attempt to turn a
>>> layer on or off, the screen just flashes and nothing happens. The
>>> other normal mapping functionalities are available.
>>>
>>> Thanks,
>>>
>>> -Brian
>>>
>>>
>>
>
------------------------------------------------------------------------
>>>
>>> *From:* mapguide-users-bounces at lists.osgeo.org
>>> [mailto:mapguide-users-bounces at lists.osgeo.org] *On Behalf Of
>>> *Berdel,
>>
>>> Brian
>>> *Sent:* Tuesday, January 08, 2008 4:42 PM
>>> *To:* MapGuide Users Mail List
>>> *Subject:* [mapguide-users] Symbols 2.0
>>>
>>> Sorry if this is a known issue, but I did a quick search and  
>>> couldn't
>>> find anything...
>>>
>>> All of my symbols are appearing on top of each other in the lower
>>> left
>>
>>> hand corner of my map in 2.0 beta2. Anyone else?
>>>
>>> Thanks,
>>>
>>> Brian
>>>
>>>
>>
>
------------------------------------------------------------------------
>>>
>>> *From:* mapguide-users-bounces at lists.osgeo.org
>>> [mailto:mapguide-users-bounces at lists.osgeo.org] *On Behalf Of *Marc
>>> Pfister
>>> *Sent:* Tuesday, January 08, 2008 3:31 PM
>>> *To:* MapGuide Users Mail List
>>> *Subject:* RE: [mapguide-users] Mapguide with no map...
>>>
>>> I am using the Sheboygan data, and I checked the extents and they  
>>> are
>>> correct. I'm confused as to why the Sheboygan dataset is throwing
>>> "Unsupported coordinate system code" when I'm trying to output to
>>> 4326. That shouldn't happen.
>>>
>>> *From:* mapguide-users-bounces at lists.osgeo.org
>>> [mailto:mapguide-users-bounces at lists.osgeo.org] *On Behalf Of
>>> *Kenneth, GEOGRAF A/S
>>> *Sent:* Tuesday, January 08, 2008 12:06 PM
>>> *To:* MapGuide Users Mail List
>>> *Subject:* Re: [mapguide-users] Mapguide with no map...
>>>
>>> You should try with some data that you know the bounds of (Sheboygan
>>> perhaps?).
>>> I have seen many cases, where the auto-calculated map extents are
>> wrong.
>>>
>>> Regards, Kenneth, GEOGRAF A/S
>>>
>>>
>>>
>>> Marc Pfister skrev:
>>>
>>> The MG error log doesn't show any errors. The Admin log only shows
>>> successes.
>>>
>>> I did manage to generate an error message of sorts. If I use  
>>> MapAgent
>>> to generate a WMS GetMap request, using the default values it gives
>>> for the Sheboygan dataset ( EPSG 4326 and lat lon bounds in the -87,
>>> 43 range), I get this error:
>>>
>>> The coordinate system conversion failed.
>>>
>>> Unsupported coordinate system code. The coordinate system conversion
>>> failed.
>>>
>>> Unsupported coordinate system code.
>>>
>>> Exception occurred in method
>>> MgCoordinateSystem.ConvertCoordinateSystemCodeToWkt at line 972 in
>>> file CoordinateSystem/CoordinateSystem.cpp
>>>
>>> Proj is the bin folder, and executing ./proj returns the useage:
>> message.
>>>
>>> I'm not sure what's going on, and without any more clues I might  
>>> just
>>> reinstall and see what happens.
>>>
>>> *From:* mapguide-users-bounces at lists.osgeo.org
>>> <mailto:mapguide-users-bounces at lists.osgeo.org>
>>> [mailto:mapguide-users-bounces at lists.osgeo.org] *On Behalf Of *Ivan
>>> Milicevic
>>> *Sent:* Monday, January 07, 2008 11:55 PM
>>> *To:* MapGuide Users Mail List
>>> *Subject:* RE: [mapguide-users] Mapguide with no map...
>>>
>>> Anything in MG server log???
>>>
>>> *From:* mapguide-users-bounces at lists.osgeo.org
>>> <mailto:mapguide-users-bounces at lists.osgeo.org>
>>> [mailto:mapguide-users-bounces at lists.osgeo.org] *On Behalf Of *Marc
>>> Pfister
>>> *Sent:* Tuesday, January 08, 2008 1:50 AM
>>> *To:* mapguide-users at lists.osgeo.org
>>> <mailto:mapguide-users at lists.osgeo.org>
>>> *Subject:* [mapguide-users] Mapguide with no map...
>>>
>>> I recently installed Mapguide OS on Ubuntu using the wiki pages and
>>> everything seemed to install correctly.
>>>
>>> Apache starts and responds fine. I get directory listings and simple
>>> pages or parts of pages.
>>>
>>> Mapguide starts fine. Watching the output from starting the startup
>>> shell script, it says it starts up and is using the Proj 4 library.
>>>
>>> Map Admin works fine. I can load data packages, etc
>>>
>>> However, I can't seem to get any map output.
>>>
>>> WebStudio works, though never draws any sample maps (though it only
>>> wants to look at 127.0.0.1, which isn't the right place to look on  
>>> my
>>> system)
>>>
>>> The sample maps, like Sheboygan, don't seem to draw anything. I  
>>> get a
>>> blank page in the brower when I use the phpviewersample.
>>>
>>> MapAgent works for requests like GetCapabilities, but also doesn't
>>> draw any maps with the related tools. I don't know the extents of  
>>> the
>>> sample data, so maybe that's why I can't get an output from it.
>>>
>>> In any case, I never see any error messages show up at the terminal.
>>> Is there a way to make it more verbose?
>>>
>>> My next step will be to load a sample shapefile of which I know the
>>> extents so I can give it more complete request for an area to  
>>> render.
>>> Are there any other troubleshooting steps I should take?
>>>
>>> n
>>> Marc Pfister
>>> Geospatial Data Manager
>>> ENPLAN
>>> mpfister at enplan.com <mailto:mpfister at enplan.com>
>>> 530/221-0440 x108
>>> 530/221-6963 Fax
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
------------------------------------------------------------------------
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org <mailto:mapguide-
>>> users at lists.osgeo.org>
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>>
>>
>
------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list