[mapguide-users] Problem with coordinate system - buffer
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Sun Oct 19 04:56:20 EDT 2008
I have now experimented with the data you sent.
I can see that the SHP provider is not picking up the coordinate system
for your data.
I made a coordinate system override on your SHP data, and selected the
same coordinate
system for both the map and featuresource.
After that I can buffer the features as expected.
I will send you a package by direct email containing the sample setup.
Regards, Kenneth Skovhede, GEOGRAF A/S
sergi nistal skrev:
> Hi,
>
> I have created the ticket 720 in trac.osgeo.org/mapguide. I saw that
> another people had a similar problem
> ('http://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg06520.html').
> Too, when I load the 'layerDefinition' (that is, for example when I
> open 'MyProject'/Basemap/Layers/espacios, espacios is a layer that I
> created with files espacios.shp, espacios.shx, espacios.dbf,
> espacios.sbn and espacios.sbx) in webstudio
> (http://localhost/mapguide/webstudio/index.html), in the section
> 'Preview' appears the next message 'Resource was not found:
> Session:0aed6aa0-0000-1000-8002-cccccccccccc_en_7F0000010AFC0AFB0AFA//PFCMapGuide2/Basemap/Layers/espacios.LayerDefinition
> Exception occurred in method MgResourceDefinitionManager.GetDocument
> at line 476 in file
> c:\mapguide2\mapguide-2.0.1\server\src\services\resource\ResourceDefinitionManager.cpp'.
>
>
> My coordinate system is epsg: 23030, I have converted to wkt with
> webstudio (PROJCS['ED50 / UTM zone
> 30N',GEOGCS['ED50',DATUM['European_Datum_1950',SPHEROID['International
> 1924',6378388,297,AUTHORITY['EPSG','7022']],AUTHORITY['EPSG','6230']],PRIMEM['Greenwich',0,AUTHORITY['EPSG','8901']],UNIT['degree',0.01745329251994328,AUTHORITY['EPSG','9122']],AUTHORITY['EPSG','4230']],PROJECTION['Transverse_Mercator'],PARAMETER['latitude_of_origin',0],PARAMETER['central_meridian',-3],PARAMETER['scale_factor',0.9996],PARAMETER['false_easting',500000],PARAMETER['false_northing',0],UNIT['metre',1,AUTHORITY['EPSG','9001']],AUTHORITY['EPSG','23030']])
> and I put this coordinate system in files:
> 'MyProject'/Basemap/BasemapLoad, 'MyProject'/Maps/'MyProject Tiled'
> and 'MyProject'/Maps/'MyProject'.
>
> The problem is when I create a buffer the next message appears and the
> buffer isn´t created: 'Buffer 1 has been created. 0 buffer feature was
> created.
> Warning:1 layers were excluded from buffer computation because their
> coordinate systems are incompatible with the coordinate system of the
> map, or because they have no coordinate system at all'.
>
> Do I need put the coordinate system in other files? Can anyone help me?
>
> Thanks
> Sergio
>
> ------------------------------------------------------------------------
> ¡Haz tu clic solidario y ayuda a África! ¡Puedes empezar ahora!
> <http://www.unclicsolidario.com/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20081019/f2f769cf/attachment.html
More information about the mapguide-users
mailing list