RE: RE: [mapguide-users] Passing variables into MGOS [No Viruses detected]

2008-05-22 Thread mauro1970
A little bit late here's how you pass ONE parameter to Mapguide: Mapguide creates internal parameters when a web layout is loaded. External parameters can be sent to Mapguide Open Source by modifying the Mapguide API and editing the files mainframe.php, taskframe.php, mainframe.templ. taskframe.t

Re: [mapguide-users] .NET Objects for working with Mapguide Resources

2008-05-22 Thread Kenneth Skovhede, GEOGRAF A/S
That is a smart way to convert Xsd to classes. Is it possible to extract the generated code and use it without LinQ for .Net 2.0? I'm not sure what you mean by "wanted to stay closer to the core API". Your generated classes expose the MapGuide Xml as .Net classes. You can then use .Net objects

Re: [mapguide-users] Use a template, Fusion, can't chance the map

2008-05-22 Thread Mike Adair
Yes, you need to flush the browser cache every time you modify ApplicationDefinition.xml. Also make sure the MapWidget is referencing the correct ID from the MapGroup. Mike Romain Quellec wrote: Apparently, it's a cache problem, or a need to reboot the sv. I don't know exactly. ---

Re: [mapguide-users] SDF UnManaged?

2008-05-22 Thread Jackie C. Ng
SDF can have multiple feature classes in the same file, if that is what you're trying to get at. - Jackie Rock Beans wrote: > > Right but when you do SDF only allows single file [FILE] based. SHP you > can > shoose a whole folder [FILE] [FOLDER]. Is this due to the SDF capability > of > having

RE: [mapguide-users] flexible layout (fusion) and hyperlink in attribute

2008-05-22 Thread David Nuell
Hi Andy - I am using "a href="link">click here " Is this what you are doing in the MySQL database table or are you using just "http://link"; Thanks in advance! Andy Morsell wrote: > > I'm using Fusion and 2.0 with hyperlinks with no issues. Same scenario, > the > hyperlinks are read from a

Re: [mapguide-users] SDF UnManaged?

2008-05-22 Thread Rock Beans
Right but when you do SDF only allows single file [FILE] based. SHP you can shoose a whole folder [FILE] [FOLDER]. Is this due to the SDF capability of having many features in one SDF file already? MGOS 2.0.1 w/ Studio 2009 The Rock On Tue, May 20, 2008 at 10:53 AM, Bruce Dechant <[EMAIL PROTECT

RE: [mapguide-users] .NET Objects for working with Mapguide Resources

2008-05-22 Thread Darrin Maidlow
Hi Maksim, I looked at early on in my learnage, but wanted to stay closer to the core API provided by Mapguide Project / Autodesk. ADN support could offer some help with the built in API, and if needed escalate off to the devs. I did also have some problems getting the Maestro API running - but

Re: [mapguide-users] Use a template, Fusion, can't chance the map

2008-05-22 Thread Romain Quellec
Apparently, it's a cache problem, or a need to reboot the sv. I don't know exactly. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Calculating a Euclidean Distance in Javascript

2008-05-22 Thread nclayton
Things look good. Thank you all for your input. So the final formula is: Math + Mapping > me But I am now able to reliably place measure segment length out while it is being drawn (I am using the wz_jsgraphics library to draw a "rubber-band" between the click start point and the mouse cursor).

Re: [mapguide-users] Use a template, Fusion, can't chance the map

2008-05-22 Thread Paul Spencer
Romain, are you using Studio to launch your fusion application? If yes, then it uses an ApplicationDefinition stored in the mapguide repository and changing the file on disk will have no effect so you will need to change the map using Studio. To use the ApplicationDefinition file on disk

RE: [mapguide-users] .NET Objects for working with Mapguide Resources

2008-05-22 Thread Maksim Sestic
Hi Darrin, Thanks for the tip. Please take a look at Kenneth's Meastro API: http://trac.osgeo.org/mapguide/browser/trunk/Tools/Maestro/MaestroAPI It relies on .NET 2.0 for MG types (de)serialization. Regards, Maksim Sestic _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beh

[mapguide-users] Use a template, Fusion, can't chance the map

2008-05-22 Thread Romain Quellec
Hello, I use a template in WebServerExtensions\www\fusion\templates\mapguide\aqua I change the ApplicationDefinition.xml line 15, Library://QSMS/Cartes/Cadriag.MapDefinition but I have the Sheboygan map. Solutions? Thanks ___ mapguide-users mailing lis

Re: [mapguide-users] Calculating a Euclidean Distance in Javascript

2008-05-22 Thread nclayton
I think you just solved the problem...I am using US Survey Feet as my coordinate system. So if this is truely the case and not a coincidence, then I don't have to recalculate to feet because it's already there. I'll try that and see what I get. Thanks for the input! andrew.demerchant wrote: >

[mapguide-users] .NET Objects for working with Mapguide Resources

2008-05-22 Thread Darrin Maidlow
Hi List, I've written two posts I thought I would share with you on the topic of .NET based MG dev. The first describes a method I've worked out to create relatively robust .NET based objects based on the Xml Schema Definitions provided with the server.Please note, I currently am only work

Re: [mapguide-users] Calculating a Euclidean Distance in Javascript

2008-05-22 Thread Andrew DeMerchant
It's either a pretty interesting coincidence that 23.529 / 77.196 = 0.3048, or else it's a units problem you've got (feet vs meters). 1 foot = 0.3048m. Andrew nclayton wrote: Hmmm...something's not lining up right. Here are my test values: Start Point x1 = 782968.222103 y1 = 1774880

RE: [mapguide-users] Calculating a Euclidean Distance in Javascript

2008-05-22 Thread nclayton
Hmmm...something's not lining up right. Here are my test values: Start Point x1 = 782968.222103 y1 = 1774880.116909 End Point x2 = 783044.338 y2 = 1774867.244367 I used this formula in php: $distance = sqrt(pow($x1 - $x2,2.0) + pow($y1 = $y2,2.0)) This gave me a value of 77.19671051057 $srs