Re-2: [mapguide-users] WMS and Failed to stylize layer in EPSG 31467 on MGOS 2.1

Axel Dörr a.doerr at doerrib.de
Mon Feb 15 04:49:02 EST 2010


Hi Kenneth,

i still have the problem, that the wms returns an empty picture. This is checked by
a colleague using quantumGIS. The coordinates within the the shown cut-out are
ok.


What have I done so far?
I added some new data, other project, to MGOS 2.1 using MGStudio 2009.
The data within the DWG-File has coordinates according to EPSG:31467.
Within MAP i assigned EPSG:31467 as coordinate system to the drawing.
Export the data as SDF without cs-transformation and import to MGOS 2.1
using MGStudio 2009 without cs-transformation.
Using the properties-slider i defined the layers to be delivered with wms
and i added the <bounds>-argument looking like this:
<Bounds SRS="EPSG:31467" west="3567000" south="5343400" east="3568900" north="5345000"/> <Bounds SRS="EPSG:4326" west="48.251991658472264" south="9.901210272305663" east="48.239199423098334" north="9.926564919588904"/>
As you suggested i used Maestro 2 RC1 for validation of the data. There no warnings or error messages.
The OgcWmsService.config.awd is added by:
<translate from="EPSG:31467">GEOGCS["DHDN", DATUM["Deutsches Hauptdreiecksnetz", SPHEROID["Bessel 1841", 6377397.155, 299.1528128, AUTHORITY["EPSG","7004"]], TOWGS84[598.1, 73.7, 418.2, 0.202, 0.045, -2.455, 6.7], AUTHORITY["EPSG","6314"]], PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], UNIT["degree of angle",0.017453292519943295], AXIS["Geodetic latitude",NORTH], AXIS["Geodetic longitude",EAST], AUTHORITY["EPSG","4314"]], PROJECTION["Transverse_Mercator"], PARAMETER["semi_major", 6377397.155], PARAMETER["semi_minor", 6356078.962818189], PARAMETER["central_meridian", 9.0], PARAMETER["latitude_of_origin", 0.0], PARAMETER["scale_factor", 1.0], PARAMETER["false_easting", 3500000.0], PARAMETER["false_northing", 0.0], UNIT["metre",1.0], AXIS["Northing",NORTH], AXIS["Easting",EAST], AUTHORITY["EPSG","31467"]] </translate>
Is anything missing? Do I need the XML-File for coordinate-system override to see wms with other cs than EPSG:4326 also to deliver wms?

Unfornatly i'm in an hurry now, because it should work at the end of this week. So i need some help.

Thanks!

Regards, Axel




Original Message        processed by David.InfoCenter 
Subject: Re: [mapguide-users] WMS and Failed to stylize layer in EPSG 31467 on MGOS 2.1 (01-Dez-2009 9:03)
From:    Kenneth Skovhede, GEOGRAF A/S <ks at geograf.dk>
To:      mapserver_user_discussion at doerrib.de


2.x is a more demanding in terms of coordinate system compatibility.
Previously, you were allowed to have empty coordinate systems.

If your map has the correct coordinate system specified, you
can check all your FeatureSource items to see if they have the correct
projection defined, otherwise add a "coordinate system override".

If you use the preview version of Maestro, you can run the
validation tool on the map (big green V icon), and it will
tell you what if a FeatureSource has a different coordinate system.

Regards, Kenneth Skovhede, GEOGRAF A/S



Axel Dörr skrev: 
Montag, 30.11.2009




Hello List,

I need some express help.

I´ve updated MGOS 1.X to 2.1 on Windows 2000 Server with IIS5.
Everything is fine now except for the WMS-Service which I deliver.
There are no rasterimages involved.

In the trace.log I find the following error:

Error: Failed to stylize layer: path and name of layer
        The coordinate system initialization failed.
        Could not initialize the geodetic transformation

The Coordinates are in EPSG:31467 (Germany, Gauss-Krueger).

In MG Studio 2009, the definition of the serviceproperties looks like this:
<Bounds SRS="EPSG:31467" west="3556600" south="5374600" east="3557700" north="5375600"/>

This worked fine with MGOS 1.X.

What has changed with MGOS 2.1 and which settings will be needed now?


Thanks for help!


Regards,

Axel




Dörr Ingenieurbüro
Siebenmuehlenstraße 36

70771 Leinfelden-Echterdingen

Tel: +49 (0)711 99 760 7-60
Fax: +49 (0)711 99 760 7-80
Email: mailto:info at doerrib.de

Web: http://www.doerrib.de




Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


_______________________________________________
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/20100215/f15be257/attachment.html


More information about the mapguide-users mailing list