[ZS1] RE: [mapguide-users] mapguide intergration
Andre Schoonbee
andresch at iway.na
Wed Jul 16 08:46:20 EDT 2008
Using Maestro 1.0.8
MapGuide Server (Version 2.0.0.2716)
MapGuide Site Administrator (Version 2.0.0.2716)
Well, I used only Maestro in defining the dataconnection (fdo to shp)
connecting to a shapefile, the layer, map and layout. I did not add any url
or tooltip links, just the basic styling to show towns as a circle. Still
noting displays. I have the following error:
<2008-07-16T13:39:10> Administrator
Error: The specified class was not found.
StackTrace:
- MgRenderingServiceHandler.ProcessOperation line 83 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\RenderingServiceHandler.cpp
- MgOpQueryFeatures.Execute line 125 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\OpQueryFeatures.cpp
- MgServerRenderingService.QueryFeatures line 652 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\ServerRenderingService.cpp
- MgServerRenderingService.RenderForSelection line 1299 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\ServerRenderingService.cpp
- MgServerDescribeSchema.GetClassDefinition line 1440 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\feature\ServerDescribeSchema.cpp The specified class was
not found.
<2008-07-16T13:39:14> Administrator
Error: Failed to stylize layer: tawns
The specified class was not found.
StackTrace:
- MgMappingUtil.StylizeLayers line 775 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\mapping\MappingUtil.cpp Failed to stylize layer: tawns
The specified class was not found.
<2008-07-16T13:39:15> Administrator
Error: The specified class was not found.
StackTrace:
- MgRenderingServiceHandler.ProcessOperation line 83 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\RenderingServiceHandler.cpp
- MgOpQueryFeatures.Execute line 125 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\OpQueryFeatures.cpp
- MgServerRenderingService.QueryFeatures line 652 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\ServerRenderingService.cpp
- MgServerRenderingService.RenderForSelection line 1299 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\ServerRenderingService.cpp
- MgServerDescribeSchema.GetClassDefinition line 1440 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\feature\ServerDescribeSchema.cpp The specified class was
not found.
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: Wednesday, July 16, 2008 1:11 PM
To: MapGuide Users Mail List
Subject: Re: [ZS1] RE: [mapguide-users] mapguide intergration
Usually "class" means feature class, aka tablename.
I did see some reports that Maestro and Studio had different ways of
encoding the class names.
What happens if you re-open the layer in Studio?
Have you tried different column names?
Does it still work if you do not use concat, eg just:
'test string'
?
Regards, Kenneth Skovhede, GEOGRAF A/S
Andre Schoonbee skrev:
Hi Kenneth
Well, I upgraded to Maestro 1.0.8. I then deleted all files previously
created and started fresh. I used a shapefile. By using Studio 2009, I
managed to define the layer, map and layout and tested the web page 100%.
I then used Maestro to add the CONCAT URL statement, saved the layer and
refreshed the webpage. The result was no poins dispayed.
The fowling is in my error log file:
<2008-07-16T09:23:21> Administrator
Error: The specified class was not found.
StackTrace:
- MgRenderingServiceHandler.ProcessOperation line 83 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\RenderingServiceHandler.cpp
- MgOpQueryFeatures.Execute line 125 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\OpQueryFeatures.cpp
- MgServerRenderingService.QueryFeatures line 652 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\ServerRenderingService.cpp
- MgServerRenderingService.RenderForSelection line 1299 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\ServerRenderingService.cpp
- MgServerDescribeSchema.GetClassDefinition line 1440 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\feature\ServerDescribeSchema.cpp The specified class was
not found.
<2008-07-16T09:23:26> Administrator
Error: Failed to stylize layer: Towns
The specified class was not found.
StackTrace:
- MgMappingUtil.StylizeLayers line 775 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\mapping\MappingUtil.cpp Failed to stylize layer: Towns
The specified class was not found.
<2008-07-16T09:23:30> Administrator
Error: The specified class was not found.
StackTrace:
- MgRenderingServiceHandler.ProcessOperation line 83 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\RenderingServiceHandler.cpp
- MgOpQueryFeatures.Execute line 125 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\OpQueryFeatures.cpp
- MgServerRenderingService.QueryFeatures line 652 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\ServerRenderingService.cpp
- MgServerRenderingService.RenderForSelection line 1299 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\rendering\ServerRenderingService.cpp
- MgServerDescribeSchema.GetClassDefinition line 1440 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src
\services\feature\ServerDescribeSchema.cpp The specified class was
not found.
Regards
Andre
_____
From: HYPERLINK
"mailto:mapguide-users-bounces at lists.osgeo.org"mapguide-users-bounces at lists.
osgeo.org [HYPERLINK
"mailto:mapguide-users-bounces at lists.osgeo.org"mailto:mapguide-users-bounces
@lists.osgeo.org] On Behalf Of Kenneth Skovhede, GEOGRAF A/S
Sent: Tuesday, July 15, 2008 3:04 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] mapguide intergration
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:
HYPERLINK
"http://trac.osgeo.org/mapguide/wiki/maestro/Downloads"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: HYPERLINK
"mailto:mapguide-users-bounces at lists.osgeo.org"mapguide-users-bounces at lists.
osgeo.org [HYPERLINK
"mailto:mapguide-users-bounces at lists.osgeo.org"mailto:mapguide-users-bounces
@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 ( 'HYPERLINK
"http://localhost/maps/searching.php?fid="http://localhost/maps/searching.ph
p?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
'HYPERLINK
"http://localhost/maps/searching.php?fid=""http://localhost/maps/searching.p
hp?fid="'. Click here to move the cursor
to the error(12)#12
Regards
Andre
-----Original Message-----
From: HYPERLINK
"mailto:mapguide-users-bounces at lists.osgeo.org"mapguide-users-bounces at lists.
osgeo.org
[HYPERLINK
"mailto:mapguide-users-bounces at lists.osgeo.org"mailto:mapguide-users-bounces
@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 ( HYPERLINK
"http://localhost/maps/searching.php?fid=""http://localhost/maps/searching.p
hp?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 HYPERLINK "http://localhost/maps"http://localhost/maps.
If I execute HYPERLINK
"http://localhost/maps/searchng.php?fid=1"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 ( HYPERLINK
"http://localhost/maps/searching.php?""http://localhost/maps/searching.php?"
, FeatId )
Regards
Andre
-----Original Message-----
From: HYPERLINK
"mailto:mapguide-users-bounces at lists.osgeo.org"mapguide-users-bounces at lists.
osgeo.org
[HYPERLINK
"mailto:mapguide-users-bounces at lists.osgeo.org"mailto:mapguide-users-bounces
@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
HYPERLINK
"mailto:mapguide-users at lists.osgeo.org"mapguide-users at lists.osgeo.org
HYPERLINK
"http://lists.osgeo.org/mailman/listinfo/mapguide-users"http://lists.osgeo.o
rg/mailman/listinfo/mapguide-users
__________ Information from ESET Smart Security, version of virus
signature
database 3194 (20080617) __________
The message was checked by ESET Smart Security.
HYPERLINK "http://www.eset.com"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
HYPERLINK
"mailto:mapguide-users at lists.osgeo.org"mapguide-users at lists.osgeo.org
HYPERLINK
"http://lists.osgeo.org/mailman/listinfo/mapguide-users"http://lists.osgeo.o
rg/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
HYPERLINK
"mailto:mapguide-users at lists.osgeo.org"mapguide-users at lists.osgeo.org
HYPERLINK
"http://lists.osgeo.org/mailman/listinfo/mapguide-users"http://lists.osgeo.o
rg/mailman/listinfo/mapguide-users
__________ Information from ESET Smart Security, version of virus signature
database 3259 (20080710) __________
The message was checked by ESET Smart Security.
HYPERLINK "http://www.eset.com"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
HYPERLINK
"mailto:mapguide-users at lists.osgeo.org"mapguide-users at lists.osgeo.org
HYPERLINK
"http://lists.osgeo.org/mailman/listinfo/mapguide-users"http://lists.osgeo.o
rg/mailman/listinfo/mapguide-users
__________ Information from ESET Smart Security, version of virus signature
database 3262 (20080711) __________
The message was checked by ESET Smart Security.
HYPERLINK "http://www.eset.com"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
HYPERLINK
"mailto:mapguide-users at lists.osgeo.org"mapguide-users at lists.osgeo.org
HYPERLINK
"http://lists.osgeo.org/mailman/listinfo/mapguide-users"http://lists.osgeo.o
rg/mailman/listinfo/mapguide-users
__________ Information from ESET Smart Security, version of virus signature
database 3269 (20080715) __________
The message was checked by ESET Smart Security.
HYPERLINK "http://www.eset.com"http://www.eset.com
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.4.11/1553 - Release Date: 15-Jul-08
5:48 AM
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
HYPERLINK
"mailto:mapguide-users at lists.osgeo.org"mapguide-users at lists.osgeo.org
HYPERLINK
"http://lists.osgeo.org/mailman/listinfo/mapguide-users"http://lists.osgeo.o
rg/mailman/listinfo/mapguide-users
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.4.11/1554 - Release Date: 15-Jul-08
6:03 PM
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.4.11/1554 - Release Date: 15-Jul-08
6:03 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080716/bd133e25/attachment.html
More information about the mapguide-users
mailing list