[mapguide-users] Re: mapguide-users Digest, Vol 16, Issue 23

katia.goes at katiagoes.com katia.goes at katiagoes.com
Fri Apr 25 15:41:23 EDT 2008


Eureka!
Everything is running!
Thanks.
Em 25/04/2008, mapguide-users-request at lists.osgeo.org escreveu: 
> Send mapguide-users mailing list submissions to 
> mapguide-users at lists.osgeo.org 
> 
> To subscribe or unsubscribe via the World Wide Web, visit 
> http://lists.osgeo.org/mailman/listinfo/mapguide-users 
> or, via email, send a message with subject or body 'help' to 
> mapguide-users-request at lists.osgeo.org 
> 
> You can reach the person managing the list at 
> mapguide-users-owner at lists.osgeo.org 
> 
> When replying, please edit your Subject line so it is more specific 
> than "Re: Contents of mapguide-users digest..." 
> 
> 
> Today's Topics: 
> 
>   1. mgnullpropertyvalueexception in 2.0 using featurereader - Get 
>       Statements (MMicallef-MTO) 
>   2. MGOS 2.0.0 problem loading imagery (David Nuell) 
>   3. RE: MGOS 2.0.0 problem loading imagery (Dave Wilson) 
>   4. help to install mapaguide sample for 2.0 
>       (katia.goes at katiagoes.com) 
>   5. Re: help to install mapaguide sample for 2.0 (Jackie C. Ng) 
>   6. Re: How to make features unique in markup layer? (Jackie C. Ng) 
>   7. Re: map request using SOAP (Jackie C. Ng) 
>   8. Re: MGOS v2.0 join with other feature source issue (Jackie C. Ng) 
>   9. RE: How to make features unique in markup layer? (Tanja Suikkanen) 
>   10. Re: Projection in Google map (anakando) 
>   11. MGOS 2.0: WFS consumption -> Schema can not be found in 
>       collection (Ismael Cams) 
>   12. Online storage (PLohr) 
>   13. OnSelectionChanged in AJAX viewer? (Tanja Suikkanen) 
>   14. Resolved Underlying Issue (nclayton) 
>   15. RE: OnSelectionChanged in AJAX viewer? (Ivan Milicevic) 
>   16. Re: OnSelectionChanged in AJAX viewer? (Jackie C. Ng) 
>   17. Re: MGOS v2.0 join with other feature source issue (David Nuell) 
>   18. RE: Projection in Google map (Andy Morsell) 
>   19. newbie : mapguide os limitations? (Saka Royban) 
> 
> 
> ---------------------------------------------------------------------- 
> 
> Message: 1 
> Date: Thu, 24 Apr 2008 10:39:42 -0700 (PDT) 
> From: MMicallef-MTO <Michael.Micallef at ontario.ca> 
> Subject: [mapguide-users] mgnullpropertyvalueexception in 2.0 using 
> featurereader - Get Statements 
> To: mapguide-users at lists.osgeo.org 
> Message-ID: <16851287.post at talk.nabble.com> 
> Content-Type: text/plain; charset=us-ascii 
> 
> 
> Custom code I worked my way through in v1.2 worked fine using the format 
> 
> $APPROX_LAT=$featureReader->GetDouble('APPROX_LAT'); 
> 
> for values in a fields within a layer. This included if the requested values 
> were null. 
> 
> While looping through a lyer retreiving data, i get: 
> Uncaught exception 'mgnullpropertyvalueexception' 
> 
> when it hits a  null value in the loop through the data. 
> 
> 
> Is there an easier way to test or reteive the data out side of using the 
> format: 
> 
> if ($featureReader->IsNull($m_name))  
> 
> for each field in the layer? 
> 
> Anyone have some ideas of a better way for me to go at this - I am 
> relatively new... 
> 
> Mike 
> -- 
> View this message in context: http://www.nabble.com/mgnullpropertyvalueexception-in-2.0-using-featurereader---Get-Statements-tp16851287p16851287.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> 
> 
> ------------------------------ 
> 
> Message: 2 
> Date: Thu, 24 Apr 2008 11:01:32 -0700 (PDT) 
> From: David Nuell <nuell at nicholsenvironmental.com> 
> Subject: [mapguide-users] MGOS 2.0.0 problem loading imagery 
> To: mapguide-users at lists.osgeo.org 
> Message-ID: <16851301.post at talk.nabble.com> 
> Content-Type: text/plain; charset=us-ascii 
> 
> 
> Hi All - 
> 
> I am having an issue loading .tif imagery into Mapguide Studio (2008).  I am 
> running MGOS v 2.0.0 on a win 2003 server. 
> 
> I have gone through various posts here on the forum and tried the 
> suggestions with no success.  Here is what I am doing: 
> 
> - connect to site 
> - right click and select New Data connection 
> - select OSGeo FDO Provider for Raster 
> - input my value in the connection properties 
> (C:\MapGuideStudioData\image.tif) 
> - save as 'raster connection' 
> - create layer and connect to data resource 'raster connection' 
> - save layer 
> - create map with extents that cover image extents (+/- 100m on lower left 
> and upper right) 
> - save map and preview 
> 
> when I preview the map, nothing comes up.  The tif image isn't very big 
> (10Mb).  I am not getting any other errors, etc. 
> 
> Can anyone please make a suggestion as to what to do?  Many thanks in 
> advance! 
> cheers. 
> 
> -- 
> View this message in context: http://www.nabble.com/MGOS-2.0.0-problem-loading-imagery-tp16851301p16851301.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> 
> 
> ------------------------------ 
> 
> Message: 3 
> Date: Thu, 24 Apr 2008 11:09:42 -0700 
> From: Dave Wilson <dave.wilson at autodesk.com> 
> Subject: RE: [mapguide-users] MGOS 2.0.0 problem loading imagery 
> To: MapGuide Users Mail List <mapguide-users at lists.osgeo.org> 
> Message-ID: 
> <53C1C94B2F19CD408BFA392599EAF8E2251389E752 at ADSK-NAMSG-02.MGDADSK.autodesk.com> 
> 
> Content-Type: text/plain; charset="us-ascii" 
> 
> The image data needs to reside on the server which it's not clear if that is the case from your details. You can either setup folders for your data and configure an Alias in Site Administrator or supply a UNC path to the server folder and that will likely work. If the data is to be accessed off the server then your mgserver process needs to run under a network ID that has a share rights to wherever the data is. 
> 
> Regards, 
> Dave 
> 
> -----Original Message----- 
> From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of David Nuell 
> Sent: Thursday, April 24, 2008 12:02 PM 
> To: mapguide-users at lists.osgeo.org 
> Subject: [mapguide-users] MGOS 2.0.0 problem loading imagery 
> 
> 
> Hi All - 
> 
> I am having an issue loading .tif imagery into Mapguide Studio (2008).  I am 
> running MGOS v 2.0.0 on a win 2003 server. 
> 
> I have gone through various posts here on the forum and tried the 
> suggestions with no success.  Here is what I am doing: 
> 
> - connect to site 
> - right click and select New Data connection 
> - select OSGeo FDO Provider for Raster 
> - input my value in the connection properties 
> (C:\MapGuideStudioData\image.tif) 
> - save as 'raster connection' 
> - create layer and connect to data resource 'raster connection' 
> - save layer 
> - create map with extents that cover image extents (+/- 100m on lower left 
> and upper right) 
> - save map and preview 
> 
> when I preview the map, nothing comes up.  The tif image isn't very big 
> (10Mb).  I am not getting any other errors, etc. 
> 
> Can anyone please make a suggestion as to what to do?  Many thanks in 
> advance! 
> cheers. 
> 
> -- 
> View this message in context: http://www.nabble.com/MGOS-2.0.0-problem-loading-imagery-tp16851301p16851301.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> _______________________________________________ 
> mapguide-users mailing list 
> mapguide-users at lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapguide-users 
> 
> 
> ------------------------------ 
> 
> Message: 4 
> Date: Thu, 24 Apr 2008 17:31:21 -0300 
> From: katia.goes at katiagoes.com 
> Subject: [mapguide-users] help to install mapaguide sample for 2.0 
> To: mapguide-users at lists.osgeo.org <mapguide-users at lists.osgeo.org> 
> Message-ID: <20080424203121.90A05280009B at smtpc.f3.k8.com.br> 
> Content-Type: text/plain; charset="utf-8" 
> 
> Hi, 
> I install Mapguide Open Source in: 
> Operacional System: Windows Vista 
> Mapguide version: 2.0 
> Server: Apache / php 
> Mapguide server and apache is running!!! 
> In the otherwise, it´s impossible to load Sheboygan.zip application. I dont Know what is happening, but Mapguide server not recognized the sample into  manage Packages module. 
> Like getting start, I installed phpviewersample in the subdirectory www and sheboygan sample as subdirectory in server/package. 
> Who can help me? 
> Sorry my terrible English. 
> Thanks 
>   
> -------------- next part -------------- 
> An HTML attachment was scrubbed... 
> URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080424/31784555/attachment-0001.html 
> 
> ------------------------------ 
> 
> Message: 5 
> Date: Thu, 24 Apr 2008 21:53:05 -0700 (PDT) 
> From: "Jackie C. Ng" <jumpinjackie at gmail.com> 
> Subject: Re: [mapguide-users] help to install mapaguide sample for 2.0 
> To: mapguide-users at lists.osgeo.org 
> Message-ID: <16890651.post at talk.nabble.com> 
> Content-Type: text/plain; charset=UTF-8 
> 
> 
> Rename Sheboygan.zip to Sheboygan.mgp and you should be able to see it in the 
> MapGuide Site Administrator. 
> 
> - Jackie 
> 
> 
> katia.goes wrote: 
> > 
> > Hi, 
> > I install Mapguide Open Source in: 
> > Operacional System: Windows Vista 
> > Mapguide version: 2.0 
> > Server: Apache / php 
> > Mapguide server and apache is running!!! 
> > In the otherwise, it´s impossible to load Sheboygan.zip application. 
> > I dont Know what is happening, but Mapguide server not recognized the 
> > sample into  manage Packages module. 
> > Like getting start, I installed phpviewersample in the 
> > subdirectory www and sheboygan sample as subdirectory in 
> > server/package. 
> > Who can help me? 
> > Sorry my terrible English. 
> > Thanks 
> >   
> > _______________________________________________ 
> > mapguide-users mailing list 
> > mapguide-users at lists.osgeo.org 
> > http://lists.osgeo.org/mailman/listinfo/mapguide-users 
> > 
> > 
> 
> 
> ----- 
> http://themapguyde.blogspot.com 
> 
> http://www.linkedin.com/in/jackieng 
> -- 
> View this message in context: http://www.nabble.com/help-to-install-mapaguide-sample-for-2.0-tp16885550p16890651.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> 
> 
> ------------------------------ 
> 
> Message: 6 
> Date: Thu, 24 Apr 2008 22:01:56 -0700 (PDT) 
> From: "Jackie C. Ng" <jumpinjackie at gmail.com> 
> Subject: Re: [mapguide-users] How to make features unique in markup 
> layer? 
> To: mapguide-users at lists.osgeo.org 
> Message-ID: <16890697.post at talk.nabble.com> 
> Content-Type: text/plain; charset=us-ascii 
> 
> 
> What does the table definition look like in your database? Can you give a 
> sample of some of the rows from this database table? 
> 
> - Jackie 
> 
> 
> Tanja Suikkanen wrote: 
> > 
> > Our markup layers are only in Library repository. 
> > 
> > In the database there is information about one markup feature per Id. 
> > 
> >  
> > 
> > I don't know if you meant this, but here it is: 
> > 
> >  
> > 
> > <?xml version="1.0" encoding="UTF-8"?> 
> > 
> > <FeatureInformation> 
> > 
> > <FeatureSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> > xsi:noNamespaceSchemaLocation="FeatureSet-1 
> > 
> > .0.0.xsd"> <Layer id="6a4667be-0000-1000-8007-001a4b7564d4">  <Class 
> > id="MarkupSchema:Markup">  <ID 
> > 
> >>AgAAAA==</ID>  </Class> </Layer></FeatureSet><Tooltip /> 
> > 
> > <Hyperlink /> 
> > 
> > <Property name="ID" value="2" /> 
> > 
> > </FeatureInformation> 
> > 
> >  
> > 
> > All markup layers are created with the phpGenericTasks sample code. 
> > 
> > Now we thought if we put the layer definition (Library://somepath/.) and 
> > the 
> > propertys id value (2) in an array or something. 
> > 
> > Then we get a value pair which we can compare to ids in the database. 
> > 
> >  
> > 
> > If you have a better idea, please tell! 
> > 
> >  
> > 
> > Tanja 
> > 
> >  
> > 
> > 
> > _______________________________________________ 
> > mapguide-users mailing list 
> > mapguide-users at lists.osgeo.org 
> > http://lists.osgeo.org/mailman/listinfo/mapguide-users 
> > 
> > 
> 
> 
> ----- 
> http://themapguyde.blogspot.com 
> 
> http://www.linkedin.com/in/jackieng 
> -- 
> View this message in context: http://www.nabble.com/How-to-make-features-unique-in-markup-layer--tp16848626p16890697.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> 
> 
> ------------------------------ 
> 
> Message: 7 
> Date: Thu, 24 Apr 2008 22:14:51 -0700 (PDT) 
> From: "Jackie C. Ng" <jumpinjackie at gmail.com> 
> Subject: Re: [mapguide-users] map request using SOAP 
> To: mapguide-users at lists.osgeo.org 
> Message-ID: <16890702.post at talk.nabble.com> 
> Content-Type: text/plain; charset=us-ascii 
> 
> 
> You can use an existing session ID, and make this as part of the web 
> service's parameters. 
> 
> In your web service implementation, create an MgSiteConnection with the 
> session ID, create your required services and away you go. 
> 
> You might want to take a look at the GETMAPIMAGE method in the mapagent test 
> pages, as this is what you would call to get rendered map images. 
> 
> - Jackie 
> 
> 
> A H wrote: 
> > 
> > sorry. it will be in .NET 
> > 
> > using MGOS 1.2 and above 
> > 
> > from what i understand, Mapguide requires us to create session before it 
> > can use the resources. and i'm not sure if it can return the said 
> > information. 
> > 
> > can mapguide render the map and produce the URL by just supplying the 
> > information given by client application? 
> > 
> > 
> > 
> > Jackie C. Ng wrote: 
> >> 
> >> What language (.net/PHP/Java)? 
> >> 
> >> - Jackie 
> >> 
> >> 
> >> A H wrote: 
> >>> 
> >>> good day everyone, 
> >>> 
> >>> i'm told to develop a web service that communicate with Mapguide through 
> >>> HTML using SOAP. is it possible to do this using Mapguide OS? 
> >>> 
> >>> the client application will pass the following info: 
> >>> 1) list of longitude latitude points 
> >>> 2) longitude and latitude of center point 
> >>> 3) zoom level 
> >>> 4) width and height in pixel 
> >>> 
> >>> the web service i'm suppose to develop will return: 
> >>> 1) x and y values (pixels) of corresponding points on the map (0,0 for 
> >>> the top left corner) 
> >>> 2) x and y of the center point (pixels) 
> >>> 3) the zoom level used by map 
> >>> 4) URL of the generated map image 
> >>> 
> >>> 
> >>> i've search through old posts but found nothing similar to this. i mean 
> >>> without using a weblayout. (and i never develop this SOAP kind of 
> >>> application before). 
> >>> 
> >>> thank you in advance. 
> >>> 
> >> 
> >> 
> > 
> > 
> 
> 
> ----- 
> http://themapguyde.blogspot.com 
> 
> http://www.linkedin.com/in/jackieng 
> -- 
> View this message in context: http://www.nabble.com/map-request-using-SOAP-tp16820188p16890702.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> 
> 
> ------------------------------ 
> 
> Message: 8 
> Date: Thu, 24 Apr 2008 22:18:40 -0700 (PDT) 
> From: "Jackie C. Ng" <jumpinjackie at gmail.com> 
> Subject: Re: [mapguide-users] MGOS v2.0 join with other feature source 
> issue 
> To: mapguide-users at lists.osgeo.org 
> Message-ID: <16890704.post at talk.nabble.com> 
> Content-Type: text/plain; charset=us-ascii 
> 
> 
> With the second table, are you trying to join with the primary (one with 
> polygons) or the secondary (the access database) feature class? 
> 
> - Jackie 
> 
> 
> David Nuell wrote: 
> > 
> > Hi all - 
> > 
> > I have MGOS v2.0 installed on a Win box with server 2003 installed.  I am 
> > also using Autodesk MapGuide Studio v 1.2.0.410 to build the web page. 
> > 
> > I have connected my MS Access DB through OSGeo FDO Provider for ODBC and 
> > am attempting to join the tables within that DB with my data layer. 
> > 
> > I am successful in connecting a single table to my data and it displays 
> > perfectly fine with the joined attributes.  When I attempt to connect a 
> > second table to the same data, the join works perfectly fine, however the 
> > data (polygons) do not display anymore.  When I remove the second table 
> > and refresh, it displays just fine again. 
> > 
> > I have tried different tables, and in different orders however it seems 
> > that only a single table can be joined and be displayed.  Has anyone else 
> > run into this?  Is there a maximum number of joins allowed? 
> > 
> > cheers. 
> > 
> > 
> 
> 
> ----- 
> http://themapguyde.blogspot.com 
> 
> http://www.linkedin.com/in/jackieng 
> -- 
> View this message in context: http://www.nabble.com/MGOS-v2.0-join-with-other-feature-source-issue-tp16834759p16890704.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> 
> 
> ------------------------------ 
> 
> Message: 9 
> Date: Fri, 25 Apr 2008 08:20:51 +0300 
> From: "Tanja Suikkanen" <tanja.suikkanen at dimenteq.fi> 
> Subject: RE: [mapguide-users] How to make features unique in markup 
> layer? 
> To: "'MapGuide Users Mail List'" <mapguide-users at lists.osgeo.org> 
> Message-ID: <000601c8a694$214e4f50$63eaedf0$@suikkanen at dimenteq.fi> 
> Content-Type: text/plain; charset="us-ascii" 
> 
> Thanks for your replies Jackie. 
> I think we can manage for now. 
> Surely, there might be problems in the future, so I'll get back to here 
> then! 
> 
> Tanja 
> 
> > -----Original Message----- 
> > From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users- 
> > bounces at lists.osgeo.org] On Behalf Of Jackie C. Ng 
> > Sent: 25. huhtikuuta 2008 8:02 
> > To: mapguide-users at lists.osgeo.org 
> > Subject: Re: [mapguide-users] How to make features unique in markup 
> > layer? 
> > 
> > 
> > What does the table definition look like in your database? Can you give 
> > a 
> > sample of some of the rows from this database table? 
> > 
> > - Jackie 
> 
> 
> 
> 
> ------------------------------ 
> 
> Message: 10 
> Date: Fri, 25 Apr 2008 00:27:06 -0700 (PDT) 
> From: anakando <anakando at yahoo.com> 
> Subject: Re: [mapguide-users] Projection in Google map 
> To: mapguide-users at lists.osgeo.org 
> Message-ID: <16892095.post at talk.nabble.com> 
> Content-Type: text/plain; charset=us-ascii 
> 
> 
> no one?? :,( 
> 
> anakando wrote: 
> > 
> > hi guys.. 
> > i have a plenty of land base layers and i decided to overlay these layer 
> > into Google map..so the problem is,my data is in cassini projection..so 
> > here i like to know how can i convert my data projection into projection 
> > that supported by Google map?what is the first step should i do? i really 
> > appreciated your help. thanks in advanced 
> > _______________________________________________ 
> > mapguide-users mailing list 
> > mapguide-users at lists.osgeo.org 
> > http://lists.osgeo.org/mailman/listinfo/mapguide-users 
> > 
> > 
> 
> -- 
> View this message in context: http://www.nabble.com/Projection-in-Google-map-tp16872352p16892095.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> 
> 
> ------------------------------ 
> 
> Message: 11 
> Date: Fri, 25 Apr 2008 01:38:23 -0700 (PDT) 
> From: Ismael Cams <mapguide2007 at gmail.com> 
> Subject: [mapguide-users] MGOS 2.0: WFS consumption -> Schema can not 
> be found in collection 
> To: mapguide-users at lists.osgeo.org 
> Message-ID: <16893111.post at talk.nabble.com> 
> Content-Type: text/plain; charset=us-ascii 
> 
> 
> Hello, 
> 
> I am trying to consume WFS from following online WFS server: 
> 
> http://www.gegis.org/gegis-1.2/wfs 
> 
> But I am not able to show the geometry. I am getting following error in the 
> server log file: 
> 
> Error: An exception occurred in FDO component. 
>         Schema can not be found in the collection. 
> StackTrace: 
>   - MgRenderingServiceHandler.ProcessOperation line 83 file 
> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\rendering\RenderingServiceHandler.cpp 
>   - MgOpQueryFeatures.Execute line 125 file 
> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\rendering\OpQueryFeatures.cpp 
>   - MgServerRenderingService.QueryFeatures line 647 file 
> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\rendering\ServerRenderingService.cpp 
>   - MgServerRenderingService.RenderForSelection line 1252 file 
> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\rendering\ServerRenderingService.cpp 
>   - MgServerDescribeSchema.GetClassDefinition line 1448 file 
> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\feature\ServerDescribeSchema.cpp 
>   - MgServerDescribeSchema.DescribeSchema line 545 file 
> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\feature\ServerDescribeSchema.cpp 
>   - MgServerDescribeSchema.ExecuteDescribeSchema line 176 file 
> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\feature\ServerDescribeSchema.cpp 
> An exception occurred in FDO component. 
> Schema can not be found in the collection. 
> 
> It gives the same error in MGOS 1.2 and MGE 2009, but it works in Map 3D 
> 2009. Because the FDO components used in MGE 2009 and MAP 3D 2009 are the 
> same I assume this error is not at the FDO level. 
> 
> Can someone point me in the right direction. What does this error mean and 
> what can be the cause for it ? 
> 
> Thanks in advance. 
> 
> 
> -- 
> View this message in context: http://www.nabble.com/MGOS-2.0%3A-WFS-consumption--%3E-Schema-can-not-be-found-in-collection-tp16893111p16893111.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> 
> 
> ------------------------------ 
> 
> Message: 12 
> Date: Fri, 25 Apr 2008 02:38:27 -0700 (PDT) 
> From: PLohr <pmlpml001 at yahoo.com> 
> Subject: [mapguide-users] Online storage 
> To: mapguide-users at lists.osgeo.org 
> Message-ID: <16823834.post at talk.nabble.com> 
> Content-Type: text/plain; charset=us-ascii 
> 
> 
> Hello, 
> 
> I have searched quite a bit but have not found an answer. I'm planning to 
> use a Linux Virtual Private Server from 1and1.com with some workarounds for 
> the root user issue to host my Mapguide open source applications. With this 
> solution, I will only have 20 GB of disk space which I am expecting will run 
> out very quickly. So I am in search of online storage where I can place GIS 
> data such as large aerial images, shapefiles, etc. and read this GIS data 
> from the online storage web site back to the Mapguide application. Has 
> anyone attempted this? Any recommendations for online storage sites? 
> 
> Thank you for any help. 
> -- 
> View this message in context: http://www.nabble.com/Online-storage-tp16823834p16823834.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> 
> 
> ------------------------------ 
> 
> Message: 13 
> Date: Fri, 25 Apr 2008 14:24:34 +0300 
> From: "Tanja Suikkanen" <tanja.suikkanen at dimenteq.fi> 
> Subject: [mapguide-users] OnSelectionChanged in AJAX viewer? 
> To: <mapguide-users at lists.osgeo.org> 
> Message-ID: <001001c8a6c6$f33177e0$d99467a0$@suikkanen at dimenteq.fi> 
> Content-Type: text/plain; charset="us-ascii" 
> 
> Hello all readers! 
> 
> 
> 
> On my map I have markup features on markup layers. When I select a feature 
> on the map and press a button (self made), I can see properties of that 
> feature in taskPaneFrame. 
> 
> The problem is that I want properties to show automatically without a 
> button_click. 
> 
> I've read that only DWF-viewer supports "onSelectionChanged" function so how 
> can I manage this in my app? 
> 
> So I use AJAX-viewer and my dev-language is C# on ASP.NET. 
> 
> 
> 
> Any help would be great, 
> 
> 
> 
> Tanja 
> 
> 
> 
> -------------- next part -------------- 
> An HTML attachment was scrubbed... 
> URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080425/fed4da0b/attachment-0001.html 
> 
> ------------------------------ 
> 
> Message: 14 
> Date: Fri, 25 Apr 2008 05:23:20 -0700 (PDT) 
> From: nclayton <nclayton at gmail.com> 
> Subject: Re[mapguide-users] solved Underlying Issue 
> To: mapguide-users at lists.osgeo.org 
> Message-ID: <16895139.post at talk.nabble.com> 
> Content-Type: text/plain; charset=us-ascii 
> 
> 
> I seem to have solved the underlying problem (finally) :D 
> 
> I have maps for multiple counties, and each one has a layer that represents 
> city limits. 
> Some of these polygons had a fill value of Shape16 and others (don't ask 
> why...) had a fill value of Shape31. I changed these all to Solid and I 
> haven't had a crash in almost 16 hours so things seem stable now. 
> 
> Just wanted to mention what the probably cause for the issue was in case 
> anyone runs into something similar. 
> 
> Thank you all for your help with this. 
> -- 
> View this message in context: http://www.nabble.com/Preserve-Session-Data-to-Restore-after-Service-Restarts--tp16590557p16895139.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> 
> 
> ------------------------------ 
> 
> Message: 15 
> Date: Fri, 25 Apr 2008 14:37:01 +0200 
> From: "Ivan Milicevic" <Ivan.Milicevic at supranet.hr> 
> Subject: RE: [mapguide-users] OnSelectionChanged in AJAX viewer? 
> To: <tanja.suikkanen at dimenteq.fi>, "MapGuide Users Mail List" 
> <mapguide-users at lists.osgeo.org> 
> Message-ID: <9CAB6B340CCF9E44BE4ACFCF56E67B07155779 at supranet> 
> Content-Type: text/plain; charset="us-ascii" 
> 
> Hello, 
> 
> 
> 
> In viewerfiles directory there is mainframe.templ file. Somewhere around 
> line 540 there is function called OnSelectionChanged 
> 
> 
> 
> function OnSelectionChanged() 
> 
> { 
> 
> var selCount = mapFrame.GetSelectedCount(); 
> 
>                 if(selCount > 0) 
> 
> { 
> 
> Alert('Kaka is best player around'); 
> 
> } 
> 
> .......... 
> 
> { 
> 
> 
> 
> Put something instead alert J 
> 
> 
> 
> From: mapguide-users-bounces at lists.osgeo.org 
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Tanja 
> Suikkanen 
> Sent: Friday, April 25, 2008 1:25 PM 
> To: mapguide-users at lists.osgeo.org 
> Subject: [mapguide-users] OnSelectionChanged in AJAX viewer? 
> 
> 
> 
> Hello all readers! 
> 
> 
> 
> On my map I have markup features on markup layers. When I select a 
> feature on the map and press a button (self made), I can see properties 
> of that feature in taskPaneFrame. 
> 
> The problem is that I want properties to show automatically without a 
> button_click. 
> 
> I've read that only DWF-viewer supports "onSelectionChanged" function so 
> how can I manage this in my app? 
> 
> So I use AJAX-viewer and my dev-language is C# on ASP.NET. 
> 
> 
> 
> Any help would be great, 
> 
> 
> 
> Tanja 
> 
> 
> 
> -------------- next part -------------- 
> An HTML attachment was scrubbed... 
> URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080425/3c954ba1/attachment-0001.html 
> 
> ------------------------------ 
> 
> Message: 16 
> Date: Fri, 25 Apr 2008 05:52:04 -0700 (PDT) 
> From: "Jackie C. Ng" <jumpinjackie at gmail.com> 
> Subject: Re: [mapguide-users] OnSelectionChanged in AJAX viewer? 
> To: mapguide-users at lists.osgeo.org 
> Message-ID: <16895536.post at talk.nabble.com> 
> Content-Type: text/plain; charset=us-ascii 
> 
> 
> Maybe this may help you. 
> 
> http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking 
> 
> - Jackie 
> 
> 
> Tanja Suikkanen wrote: 
> > 
> > Hello all readers! 
> > 
> >  
> > 
> > On my map I have markup features on markup layers. When I select a feature 
> > on the map and press a button (self made), I can see properties of that 
> > feature in taskPaneFrame. 
> > 
> > The problem is that I want properties to show automatically without a 
> > button_click. 
> > 
> > I've read that only DWF-viewer supports "onSelectionChanged" function so 
> > how 
> > can I manage this in my app? 
> > 
> > So I use AJAX-viewer and my dev-language is C# on ASP.NET. 
> > 
> >  
> > 
> > Any help would be great, 
> > 
> >  
> > 
> > Tanja 
> > 
> >  
> > 
> > 
> > _______________________________________________ 
> > mapguide-users mailing list 
> > mapguide-users at lists.osgeo.org 
> > http://lists.osgeo.org/mailman/listinfo/mapguide-users 
> > 
> > 
> 
> 
> ----- 
> http://themapguyde.blogspot.com 
> 
> http://www.linkedin.com/in/jackieng 
> -- 
> View this message in context: http://www.nabble.com/OnSelectionChanged-in-AJAX-viewer--tp16895360p16895536.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> 
> 
> ------------------------------ 
> 
> Message: 17 
> Date: Fri, 25 Apr 2008 06:56:53 -0700 (PDT) 
> From: David Nuell <nuell at nicholsenvironmental.com> 
> Subject: Re: [mapguide-users] MGOS v2.0 join with other feature source 
> issue 
> To: mapguide-users at lists.osgeo.org 
> Message-ID: <16895767.post at talk.nabble.com> 
> Content-Type: text/plain; charset=us-ascii 
> 
> 
> Hi Jackie - 
> 
> I have tried it both ways. 
> 
> Attempt 1: In the original polygon layer (parcels), there is an attribute 
> labelled ObjectID.  I attached a table called 'Parcel Information' where 
> 
> parcels.ObjectID=ParcelInformation.ParcelOID 
> 
> That join works ok and can be displayed.  When I try to connect a second 
> table 'DeveloperAgreements' to the already joined attribute where 
> 
> ParcelInformation.ParcelUniqueID=DeveloperAgreements.ParcelUniqueID_FK 
> 
> It fails to draw the layer.  The join can be seen, but no polygons are 
> shown. 
> 
> Attempt 2: 
> 
> I added the attribute 'ParcelUniqueID' to my polygon layer and re-loaded the 
> SHP to MG Studio.  I then attempt to join 
> 
> Parcels.objectID=ParcelInformation.ParcelOID 
> 
> This works fine as in the first attempt.  When I attempt to connect the 
> second table with the new ParcelUniqueID in the parcels polygon layer such 
> as 
> 
> Parcels.ParcelUniqueID=DeveloperAgreements.ParcelUniqueID_FK 
> 
> The join works ok, however no polygons are drawn. 
> 
> Hope the information above can help someone help me out... thanks for the 
> reply jackie. 
> 
> 
> 
> 
> 
> Jackie C. Ng wrote: 
> > 
> > With the second table, are you trying to join with the primary (one with 
> > polygons) or the secondary (the access database) feature class? 
> > 
> > - Jackie 
> > 
> > 
> > David Nuell wrote: 
> >> 
> >> Hi all - 
> >> 
> >> I have MGOS v2.0 installed on a Win box with server 2003 installed.  I am 
> >> also using Autodesk MapGuide Studio v 1.2.0.410 to build the web page. 
> >> 
> >> I have connected my MS Access DB through OSGeo FDO Provider for ODBC and 
> >> am attempting to join the tables within that DB with my data layer. 
> >> 
> >> I am successful in connecting a single table to my data and it displays 
> >> perfectly fine with the joined attributes.  When I attempt to connect a 
> >> second table to the same data, the join works perfectly fine, however the 
> >> data (polygons) do not display anymore.  When I remove the second table 
> >> and refresh, it displays just fine again. 
> >> 
> >> I have tried different tables, and in different orders however it seems 
> >> that only a single table can be joined and be displayed.  Has anyone else 
> >> run into this?  Is there a maximum number of joins allowed? 
> >> 
> >> cheers. 
> >> 
> >> 
> > 
> > 
> 
> -- 
> View this message in context: http://www.nabble.com/MGOS-v2.0-join-with-other-feature-source-issue-tp16834759p16895767.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> 
> 
> ------------------------------ 
> 
> Message: 18 
> Date: Fri, 25 Apr 2008 07:05:40 -0700 
> From: "Andy Morsell" <amorsell at spatialgis.com> 
> Subject: RE: [mapguide-users] Projection in Google map 
> To: "'MapGuide Users Mail List'" <mapguide-users at lists.osgeo.org> 
> Message-ID: <001601c8a6dd$78c4dd50$6401a8c0 at SPINAJM> 
> Content-Type: text/plain; charset="US-ASCII" 
> 
> Google Map and Google Earth use a latitude longitude WGS84 coordinate system 
> for displaying their data.  If you are going to integrate your data with it, 
> you will have to re-project it into that system and then reload the dataset 
> into MapGuide.  Whatever GIS software you use should have the ability to 
> transform your data from one coordinate system to another. 
> 
> 
> Andy Morsell, P.E. 
> Spatial Integrators, Inc. 
> http://www.SpatialGIS.com 
> 
> -----Original Message----- 
> From: mapguide-users-bounces at lists.osgeo.org 
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of anakando 
> Sent: Friday, April 25, 2008 12:27 AM 
> To: mapguide-users at lists.osgeo.org 
> Subject: Re: [mapguide-users] Projection in Google map 
> 
> 
> no one?? :,( 
> 
> anakando wrote: 
> > 
> > hi guys.. 
> > i have a plenty of land base layers and i decided to overlay these 
> > layer into Google map..so the problem is,my data is in cassini 
> > projection..so here i like to know how can i convert my data 
> > projection into projection that supported by Google map?what is the 
> > first step should i do? i really appreciated your help. thanks in 
> > advanced _______________________________________________ 
> > mapguide-users mailing list 
> > mapguide-users at lists.osgeo.org 
> > http://lists.osgeo.org/mailman/listinfo/mapguide-users 
> > 
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Projection-in-Google-map-tp16872352p16892095.html 
> Sent from the MapGuide Users mailing list archive at Nabble.com. 
> 
> _______________________________________________ 
> mapguide-users mailing list 
> mapguide-users at lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapguide-users 
> 
> 
> 
> 
> ------------------------------ 
> 
> Message: 19 
> Date: Fri, 25 Apr 2008 07:57:06 -0700 (PDT) 
> From: Saka Royban <srph124 at yahoo.com> 
> Subject: [mapguide-users] newbie : mapguide os limitations? 
> To: MapGuide <mapguide-users at lists.osgeo.org> 
> Message-ID: <146717.55324.qm at web58202.mail.re3.yahoo.com> 
> Content-Type: text/plain; charset="us-ascii" 
> 
> Hi all. 
> I wanted to know is there any limitation for mapguide os? 
> for e.g. in number of layers or labeling to support. 
> Thanks in advance 
> 
> 
> 
>       ____________________________________________________________________________________ 
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
> -------------- next part -------------- 
> An HTML attachment was scrubbed... 
> URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080425/27e3781d/attachment-0001.html 
> 
> ------------------------------ 
> 
> _______________________________________________ 
> mapguide-users mailing list 
> mapguide-users at lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapguide-users 
> 
> 
> End of mapguide-users Digest, Vol 16, Issue 23 
> ********************************************** 

Kátia Góes 
Especialista em SIG e Analista Ambiental 
www.katiagoes.com / 21-8308-0325 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080425/1e6cf699/attachment.html


More information about the mapguide-users mailing list