RE: [mapguide-users] Java error in script - runs fine from studio
Could you post entire frameset here, so we can hellp you... From: [EMAIL PROTECTED] on behalf of nicolej Sent: pon 1.10.2007 0:43 To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Java error in script - runs fine from studio I have been working on a invoke url function in studio the function gets a list of features the user selects the feature they want to zoom to then clicks a button and the map zooms to the specified location and selects the appropriate feature. This works like a charm in studio and when you click on the link to view on the web. As soon as I put the web layout into a 'web page' an attempt this functionality it throws and error. 'parent.parent.mapFrame' is null or not an object...if someone could shed some light on what is going on I would be grateful NJ winmail.dat___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Sample - source code
hi How can i download all source files whit this dev example? (all folder ) http://data.mapguide.com/mapguide/devguide/index.php can anybody post url to this source code? -- Maciej ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Sample - source code
Hi I have the all source files in a zip file, attached with my reply. Also, I have this sample in .NET Language and MGE 2008 if you need it Regards Karam http://www.nabble.com/file/p12976942/devguide_june_2006_samples.zip devguide_june_2006_samples.zip macieksk wrote: hi How can i download all source files whit this dev example? (all folder ) http://data.mapguide.com/mapguide/devguide/index.php can anybody post url to this source code? -- Maciej ___ 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/Sample---source-code-tf4547153s16610.html#a12976942 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
Odp: [mapguide-users] Sample - source code
Witaj. Dla wersji 1.2 http://mapguide.osgeo.org/download/releases/1.2.x-samples Maciek [EMAIL PROTECTED] 2007-10-01 11:29 hi How can i download all source files whit this dev example? (all folder ) http://data.mapguide.com/mapguide/devguide/index.php can anybody post url to this source code? -- Maciej ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Problems with legend, when creating layer in tun time
Well, I do this exactly this way, but sometimes nothing happens ... and sometimes it works just fine. Maciek Jackie Ng wrote: You need to programmatically refresh the legend pane via javascript. You php script would look something like: ?php //Your code ? html head script type=text/javascript window.onload = function() { mapFrame.Refresh(); }; /script /head body /body /html Hope that helps - Jackie MaciekS wrote: Hi everyone. When I'm creating new layer in php, layer displays on the map but it doesn't in the legend. After refreshing legend frame it comes to be visible ... strange, isn't it? My code is: $newLayer-SetName($layerName); $newLayer-SetVisible(true); $newLayer-SetSelectable(true); $newLayer-SetLegendLabel($layerLegendLabel); $newLayer-SetDisplayInLegend(true); Any ideas? Maciek -- View this message in context: http://www.nabble.com/Problems-with-legend%2C-when-creating-layer-in-tun-time-tf4544080s16610.html#a12980457 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] How to use count or max expression in fdo provider for sdf
The GetExpressionCapabilities for sdf provider tells me that it supports Concat SpatialExtents Ceil Floor Lower Upper Sum Count Min Avg Max But i can't make it to works MgFeatureService featureService = (MgFeatureService)site.CreateService(MgServiceType.FeatureService); MgResourceIdentifier resId = new MgResourceIdentifier(Library://Samples/Sheboygan/Data/Parcels.FeatureSource); MgFeatureQueryOptions queryOptions = new MgFeatureQueryOptions(); //this one returns : Invalid property name: Count() //queryOptions.AddFeatureProperty(Count()); //this one returns : The function 'Count' is not supported by this provider queryOptions.AddComputedProperty(Count, Count()); MgFeatureReader dataReader = featureService.SelectFeatures(resId, SHP_Schema:Parcels, queryOptions); -- View this message in context: http://www.nabble.com/How-to-use-count-or-max-expression-in-fdo-provider-for-sdf-tf4548772s16610.html#a12980584 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] How to calculate area of the polygon(s) in MG?
MaciekS escribi: Hi everyone! Does anybody know MG function that calculates area of polygons? Reagards, Maciek Hi Maciek, You can get the polygon point in the client side and then, send this points to the server side (i.e hide form). Here, with the server side API you can calculate the area with the class MgPolygon. PD: Sorry for my english... Best regards. -- Antonio Lucas Project Manager [EMAIL PROTECTED] www.svl.es tel. 963959513 Fax 963731756 Avda. Ausias March 79 - 1 46013 Valencia Calle Canalejas 13 - 3 03001 Alicante Este mensaje puede contener informacin confidencial, privilegiada o datos de carcter personal. Si usted no es el destinatario indicado en el mismo o el responsable de su entrega, le rogamos no copie o entregue este mensaje a nadie ms. En dicho caso, por favor, destruya este mensaje y comunique a Servitec Servicios Informticos S.L. su recepcin. Las opiniones, conclusiones y dems informaciones incluidas en este mensaje que no estn relacionadas con asuntos profesionales de Servitec Servicios Informticos S.L. se entendern que nunca se han dado ni estn respaldadas por Servitec Servicios Informticos S.L. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Java error in script - runs fine from studio
Ok I'm not sure what you mean by frame set but this my default page I used and old sample script. ListLanguages.php and zoomSelectLanguage.php are the scripts running the got to language feature The map works without fail every time through studio or without using my default.php page. Thanks for the help NJ default.php Description: Binary data listLanguages.php Description: Binary data zoomSelectLanguage.php Description: Binary data ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Coordinate Systems
So in MapGuide Studio I export the MapDefinition to XML My coordinate system looks like this: CoordinateSystemPROJCS[OutagamieWI-F,GEOGCS[LL-HPGN,DATUM[HPGN,SPHER OID[GRS1980,6378137.000,298.25722210]],PRIMEM[Greenwich,0],UNIT[Degree ,0.017453292519943295]],PROJECTION[Transverse Mercator, Wisconsin County Variation],PARAMETER[central_meridian,-88.50],PARAMETER[lati tude_of_origin,42.719444],PARAMETER[scale_factor,0.9600], PARAMETER[false_easting,803000.000],PARAMETER[false_northing,0.000],UNIT [Foot_US,0.30480060960122]]/CoordinateSystem This System for Outagamie County, Wisconsin will not work on MGOS 1.2.If I'm to edit this and reload the resource using an EPSG or WKT code what would it look like? Where would I find it? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth, GEOGRAF A/S Sent: Thursday, September 27, 2007 1:58 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Coordinate Systems I am not 100% on the coordinate systems, but I have not found a way to add coordinate systems. You can generally use the EPSG code or WKT format for the maps. The problem is that you cannot enter these codes in MapGuide Studio. You have to change it in the Xml and then load the modified Xml back into MapGuide OS. If someone has an easier solution, please share :D Regards, Kenneth, GEOGRAF A/S Scott Hameister skrev: Does anybody have an answer on how to add missing coordinate Systems to Open Source 1.2 ..I too have a County Coordinate system In Wisconsin I'd like to have Mapguide OS recognize.I'm using Mapguide Studio where I can find the system, but it crashes using OS server.Where can we enter the codes in OS 1.2 so that the Authored Map sees them? _ ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Using MrSID GDAL raster provider with Linux
Hello, I am trying to help someone compile the MrSid GDAL raster provider in MGOS 1.2 using RHEL4 but cannot seem to find any documentation on how to do this. We have successfully compiled MGOS and have it working with RHEL4 but cannot find the source to compile the MrSid or the ECW GDAL. Am I missing something or can someone point me in the right direction. Thanks, Jonathon Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Using MrSID GDAL raster provider with Linux
Hi Jonathon, I haven't done this myself, but you might find some useful information for building GDAL with ECW/SID support on this page: http://trac.osgeo.org/gdal/wiki/BuildHints The version of GDAL used by the current FDO provider is available here: http://svn.osgeo.org/fdocore/branches/3.2.3/Thirdparty/GDAL1.3/ (and is likely also included in the tar that you're building from?) Jason From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathon McIntyre Sent: Monday, October 01, 2007 10:08 To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Using MrSID GDAL raster provider with Linux Hello, I am trying to help someone compile the MrSid GDAL raster provider in MGOS 1.2 using RHEL4 but cannot seem to find any documentation on how to do this. We have successfully compiled MGOS and have it working with RHEL4 but cannot find the source to compile the MrSid or the ECW GDAL. Am I missing something or can someone point me in the right direction. Thanks, Jonathon Ask a question on any topic and get answers from real people. Go to Yahoo! Answers. http://ca.answers.yahoo.com ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Coordinate Systems
I agree that it is important. But the problem is that MapGuide Studio assumes that the server uses the Mentor library. This means that you should report the problem to Autodesk, as this forum has no influence on the development of MapGuide Studio. I usually google around for the EPSG code, and then use the http interface to get the WKT for the projection. If all else fails, I use the XY-M projection. Regards, Kenneth, GEOGRAF A/S Scott Hameister skrev: This is important...several states use county coordinate sytems for local govt and other states are looking at adopting them... ...If Autodesk Map piublishes using its Definition, and Studio can recognize it, but Mapguide Open Source won't, then more and more geographic regions of the US will become unreachable, and its likely to increase...Nobody wants to reproject all their hard work on every layer they publish...Is this going to be addressed in the future.. *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Kenneth, GEOGRAF A/S *Sent:* Thursday, September 27, 2007 1:58 PM *To:* MapGuide Users Mail List *Subject:* Re: [mapguide-users] Coordinate Systems I am not 100% on the coordinate systems, but I have not found a way to add coordinate systems. You can generally use the EPSG code or WKT format for the maps. The problem is that you cannot enter these codes in MapGuide Studio. You have to change it in the Xml and then load the modified Xml back into MapGuide OS. If someone has an easier solution, please share :D Regards, Kenneth, GEOGRAF A/S Scott Hameister skrev: Does anybody have an answer on how to add missing coordinate Systems to Open Source 1.2 I too have a County Coordinate system In Wisconsin I'd like to have Mapguide OS recognize...I'm using Mapguide Studio where I can find the system, but it crashes using OS server...Where can we enter the codes in OS 1.2 so that the Authored Map sees them? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org mailto:mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Coordinate Systems
In case anyone missed it, Autodesk acquired Mentor (aka Norm) last week during FOSS4G and announced plans to open source the projection libraries. So... I think it's fair to say that eventually this problem will be going away. Jason From: Kenneth, GEOGRAF A/S Subject: Re: [mapguide-users] Coordinate Systems I agree that it is important. But the problem is that MapGuide Studio assumes that the server uses the Mentor library. This means that you should report the problem to Autodesk, as this forum has no influence on the development of MapGuide Studio. I usually google around for the EPSG code, and then use the http interface to get the WKT for the projection. If all else fails, I use the XY-M projection. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Coordinate Systems
God I hope so.Its really the biggest stumbling blocks with some accounts buying in. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Birch Sent: Monday, October 01, 2007 2:07 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Coordinate Systems In case anyone missed it, Autodesk acquired Mentor (aka Norm) last week during FOSS4G and announced plans to open source the projection libraries. So... I think it's fair to say that eventually this problem will be going away. Jason _ From: Kenneth, GEOGRAF A/S Subject: Re: [mapguide-users] Coordinate Systems I agree that it is important. But the problem is that MapGuide Studio assumes that the server uses the Mentor library. This means that you should report the problem to Autodesk, as this forum has no influence on the development of MapGuide Studio. I usually google around for the EPSG code, and then use the http interface to get the WKT for the projection. If all else fails, I use the XY-M projection. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] How to use count or max expression in fdo providerfor sdf
Bruno, Where is it failing? At the SelectFeatures call? I'm wondering if you might need SelectAggregate instead. Jason -Original Message- From: Bruno Scott Subject: [mapguide-users] How to use count or max expression in fdo providerfor sdf //this one returns : Invalid property name: Count() //queryOptions.AddFeatureProperty(Count()); //this one returns : The function 'Count' is not supported by this provider queryOptions.AddComputedProperty(Count, Count()); MgFeatureReader dataReader = featureService.SelectFeatures(resId, SHP_Schema:Parcels, queryOptions); ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Raster Imaging
You might find this site handy (or it may be what you've found already). I've downloaded DOQ's, DRG's and DEM's for Washington state from there several times. http://duff.ess.washington.edu/data/watiles/index.html Andy Morsell, P.E. Spatial Integrators, Inc. http://www.SpatialGIS.com _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Pendergraft Sent: Friday, September 28, 2007 3:05 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Raster Imaging Thanks for the advice. University of Washington does have geo-referenced Tiffs from USGS. I have played around with a few and I'm curious if anyone knows of a link to directly download tiffs from USGS. UW has them, but they are quite cumbersome to download. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Morrison Sent: Friday, September 28, 2007 11:49 AM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Raster Imaging Go to the university's website in your state. Most of them have a geospatial collection that you can download data from. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Pendergraft Sent: Friday, September 28, 2007 2:41 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Raster Imaging Hi everyone, I'm a CAD user and I'm kind of a newb to GIS, so this may be a dumb question. I have a map built, with my company's job data on it. Everything works great, but I would like to add some imagery to make it more pleasing to the eye and more convenient for drafters in our office to find a photo of the site. The problem is, I have no idea where to get this from. I have been searching the web for about a day now, and have yet to find anything. I did find TerraServer on the USGS website, but I read in a post on this mailing list, that it doesn't work with MapGuide OS. If anyone could clue me in where to get/connect to color imagery similar to what I would find in say Google Earth, and perhaps provide me with a brief synopsis or walkthrough on how to connect to it, I would greatly appreciate it. Thanks. -Mark Pendergraft cid:image001.jpg@01C7185E.D0B84C40 Ph: (425) 486-1252 Fx: (425) 486-6108 http://www.meadgilman.com/ www.meadgilman.com image001.jpg___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Label Features
Does anyone know which class member is use to label all the features of a layer? I dont want to use DOM. - All new Yahoo! Mail - Get news delivered. Enjoy RSS feeds right on your Mail page.___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Sample application missing pushpin for find address
Facing an issue of un-displayed “PushPin” marker over the Sheboygan’s map sample, with MGOS 1.2 under .NET environment. Is there any solution for displaying the ‘AddressMarker’ (‘PushPin-Blue’) , for the dotnetviewsample - Find Addres’s command. 1. When I call the “Find Address” TaskBar’s command it successfully create the AddressMarker.sdf at the “Repositories\Session\DataFiles\...” but the marker is not displayed on the map. 2. When loading the created AddressMarker.sdf to the Repository, using the MapGuide Studio – the marker is shown with layer’s preview but not on the map, when trying to display it on the Sheboygan.MapDefinition. 3. When using the MapGuide2008 version, the marker is displayed perfectly. -- View this message in context: http://www.nabble.com/Sample-application-missing-pushpin-for-find-address-tf4551813s16610.html#a12989631 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] OSGeo could not be found. ERROR
Having problem with MGOS OSGeo libraray. - I have fresh clean MapGuide installation v1.2 ERR: OSGeo could not be found. Server Error in '/mapguide' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0246: The type or namespace name 'OSGeo' could not be found (are you missing a using directive or an assembly reference?) Source Error: Line 21: %@ Import Namespace=System.Text % Line 22: %@ Import Namespace=System.Globalization % Line 23: %@ Import Namespace=OSGeo.MapGuide % Line 24: Line 25: script runat=server ..can anyone help me solve this problem !? thx -- View this message in context: http://www.nabble.com/OSGeo-could-not-be-found.-ERROR-tf4547999s16610.html#a12978209 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] OSGeo could not be found. ERROR
Are the mapviewernet and mapviewerajax virtual directories set as applications and using ASP.net 2.0? - Jackie ales6 wrote: Having problem with MGOS OSGeo libraray. - I have fresh clean MapGuide installation v1.2 ERR: OSGeo could not be found. Server Error in '/mapguide' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0246: The type or namespace name 'OSGeo' could not be found (are you missing a using directive or an assembly reference?) Source Error: Line 21: %@ Import Namespace=System.Text % Line 22: %@ Import Namespace=System.Globalization % Line 23: %@ Import Namespace=OSGeo.MapGuide % Line 24: Line 25: script runat=server ..can anyone help me solve this problem !? thx -- View this message in context: http://www.nabble.com/OSGeo-could-not-be-found.-ERROR-tf4547999s16610.html#a12991078 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