[mapguide-users] mapguide intergration

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Tue Jul 15 10:04:24 EDT 2008


There was an error in Maestro 1.0.7 regarding points symbols in a layer.
You can upgrade to 1.0.8 and it should work:
http://trac.osgeo.org/mapguide/wiki/maestro/Downloads

If the layer does not render with the updated singly quoted strings, 
there should be an entry in the server log file:
C:\Program Files\MapGuideOpenSource2.0\Server\Logs\Error.log

Regards, Kenneth Skovhede, GEOGRAF A/S




Andre Schoonbee skrev:
>
> Hi List
>
>  
>
> Man I am frustrated!
>
>  
>
> I added a shapefile using Autodesk Sudio 2009, and it display correctly.
>
> I then tried to use Maestro and/or WebStudio to add the Concat 
> statement, but the result is that I end up with a map not displaying 
> the points.
>
>  
>
> I also loaded the points shapefile into postgis. I use Quantum to view 
> the table and it display 100%. (Postgres 8.2) I then created a db 
> connection from Maestro (1.0.7.40948) and tried to add a layer using 
> the data connection defined. I have specified the Custom Editor and 
> Generic editor settings to make sure even the schema is defined. I 
> also tested the connection and no errors were displayed. I did add a 
> layer that connects to the database and saved it. The minute I want to 
> add the layer style (point) I keep on getting an error:
>
>  
>
> /An Error occurred saving: The remote server returned an error: (559) 
> MgDbXmlException.:/
>
> /An exception occurred in DB XML component./
>
> /Error: XML Indexer: Parse error in document at line, 25 char 22, 
> Parse message: Element ‘ForegrountColor’ is not valid to content model:/
>
> /‘((FillPattern, ForegroundColor,BackgroundColor).ExtendedData1)’/
>
> /Exception occurred in method 
> MgResourceDefinitionManager.UpdateDocument at line 601 in file/
>
> /D:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\resource\ResourceDefinitionManager.ccp/
>
>  
>
> Any help would be appreciated!
>
>  
>
> Regards
>
>  
>
> Andre
>
> ------------------------------------------------------------------------
>
> *From:* mapguide-users-bounces at lists.osgeo.org 
> [mailto:mapguide-users-bounces at lists.osgeo.org] *On Behalf Of *Kenneth 
> Skovhede, GEOGRAF A/S
> *Sent:* Friday, July 11, 2008 11:48 AM
> *To:* MapGuide Users Mail List
> *Subject:* Re: [mapguide-users] mapguide intergration
>
>  
>
> Oh, and besides, I think you should use single quotes for strings?
>
> Concat (   'http://localhost/maps/searching.php?fid='  ,  FeatId  ) 
>
>
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Andre Schoonbee skrev:
>
> Hi 
> First, thanks for the feedback
> The problem is that using I use Autodesk Mapguide sutio 2009 Trail, and when
> entering the conact string - I get an error :
>  
> Error: The expression has an undefined property
> '"http://localhost/maps/searching.php?fid=" <http://localhost/maps/searching.php?fid=>'. Click here to move the cursor
> to the error(12)#12
>  
> Regards
>  
> Andre
> -----Original Message-----
> 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 Kenneth
> Skovhede, GEOGRAF A/S
> Sent: Thursday, July 10, 2008 8:14 PM
> To: MapGuide Users Mail List
> Subject: Re: [mapguide-users] mapguide intergration
>  
> I think you should have:
>  
> Concat (   "http://localhost/maps/searching.php?fid=" <http://localhost/maps/searching.php?fid=>  ,  FeatId  )  
>  
> (I assume your key column is actually named "FeatId")
>  
> Regards, Kenneth Skovhede, GEOGRAF A/S
>  
>  
>  
> Andre Schoonbee skrev:
>   
>> Hi Jason
>>  
>> I have no idea on how to do this. 
>>  
>> What I want is to pass the Feature ID (fid) to my localhost map web server
>> running as http://localhost/maps.
>> If I execute http://localhost/maps/searchng.php?fid=1, I get the correct
>> information on my screen. The web screen is html and php.
>>  
>> So I need to be able to pass the fid to my connection sting. 
>>  
>> I have tried this but seems not to be working.
>>  
>>   Concat (   "http://localhost/maps/searching.php?" <http://localhost/maps/searching.php?>  ,  FeatId  )  
>>  
>>  
>> Regards
>>  
>> Andre
>>  
>> -----Original Message-----
>> 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 Jason Birch
>> Sent: Tuesday, June 17, 2008 5:38 PM
>> To: MapGuide Users Mail List
>> Subject: RE: [mapguide-users] mapguide intergration
>>  
>> Andre, 
>>  
>> I think you can do this by concatenating some constant text (the URL)
>> with an attribute value (the town name) in the link.
>>  
>> I have no idea how this will work with your framed setup though.  It may
>> be better to have the link trigger a javascript function (I haven't
>> experimented with this) that does something in the parent frame.
>>  
>> Jason
>>  
>> -----Original Message-----
>> From: Andre Schoonbee
>> Subject: [mapguide-users] mapguide intergration
>>  
>> I have a php driven web based system and also a towns map running on
>> MGOS.
>> By using the "URL link", on Maestro or on Autodesk Mapguide studio, I
>> want
>> to pass the town name from the map to the other web system. The map will
>> be
>> running within an iframe in the system. 
>> _______________________________________________
>> 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
>>  
>> __________ Information from ESET Smart Security, version of virus
>>     
> signature
>   
>> database 3194 (20080617) __________
>>  
>> The message was checked by ESET Smart Security.
>>  
>> http://www.eset.com
>>  
>>  
>> No virus found in this incoming message.
>> Checked by AVG. 
>> Version: 7.5.524 / Virus Database: 270.3.0/1505 - Release Date: 16-Jun-08
>> 7:20 AM
>>  
>>  
>> No virus found in this outgoing message.
>> Checked by AVG. 
>> Version: 7.5.524 / Virus Database: 270.4.7 - Release Date: 08-Jul-08 12:00
>> AM
>>  
>>  
>> _______________________________________________
>> 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 <mailto:mapguide-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>  
> __________ Information from ESET Smart Security, version of virus signature
> database 3259 (20080710) __________
>  
> The message was checked by ESET Smart Security.
>  
> http://www.eset.com
>  
>  
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 7.5.524 / Virus Database: 270.4.7 - Release Date: 08-Jul-08 12:00
> AM
>  
>  
> No virus found in this outgoing message.
> Checked by AVG. 
> Version: 7.5.524 / Virus Database: 270.4.7/1545 - Release Date: 10-Jul-08
> 6:43 PM
>  
>  
> _______________________________________________
> 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
>   
>
>
>
> __________ Information from ESET Smart Security, version of virus 
> signature database 3262 (20080711) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 270.4.7/1545 - Release Date: 
> 10-Jul-08 6:43 PM
>
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 270.4.11/1553 - Release Date: 
> 15-Jul-08 5:48 AM
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080715/6eeb4f6b/attachment.html


More information about the mapguide-users mailing list