<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I have now experimented with the data you sent.<br>
I can see that the SHP provider is not picking up the coordinate system
for your data.<br>
I made a coordinate system override on your SHP data, and selected the
same coordinate<br>
system for both the map and featuresource.<br>
After that I can buffer the features as expected.<br>
<br>
I will send you a package by direct email containing the sample setup.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
sergi nistal skrev:
<blockquote cite="mid:BAY101-W423AF2008FB97C62F91534A83A0@phx.gbl"
type="cite">
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
<style>.hmmessage P{margin:0px;padding:0px}body.hmmessage{FONT-SIZE: 10pt;FONT-FAMILY:Tahoma}</style>Hi,
<br>
<br>
I have created the ticket 720 in trac.osgeo.org/mapguide. I saw that
another people had a similar problem
('<a class="moz-txt-link-freetext" href="http://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg06520.html">http://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg06520.html</a>').
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
(<a class="moz-txt-link-freetext" href="http://localhost/mapguide/webstudio/index.html">http://localhost/mapguide/webstudio/index.html</a>), 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'.
<br>
<br>
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'.<br>
<br>
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.<br>
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'.<br>
<br>
Do I need put the coordinate system in other files? Can anyone help me?<br>
<br>
Thanks<br>
Sergio<br>
<br>
<hr>¡Haz tu clic solidario y ayuda a África! <a
moz-do-not-send="true" href="http://www.unclicsolidario.com/"
target="_new">¡Puedes empezar ahora!</a>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
</body>
</html>