<!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'm not sure that provider is case insensitive. <br>
Try adding the file again, but with the name "PROPERTIES.shp".<br>
<br>
Also, try creating a folder, and place the files in the folder.<br>
Then try to use the "External files" and point to the folder.<br>
Also try pointing directly to the file.<br>
<br>
When the "Test connection" is successfull, try clicking the <br>
rightmost button in the "coordinate system override" field, and<br>
it will show you what the provider returns as the coordinate system.<br>
<br>
Alternatively, try using the OGR provider instead of the SHP provider.<br>
<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
padmini godavarthi skrev:
<blockquote cite="mid:1240409209512-2676400.post@n2.nabble.com"
type="cite">
<pre wrap="">Hi Keneneth,
First of all thanks for ur patience
i have uploaded all the files but i didnt get the coordinate system
<a class="moz-txt-link-freetext" href="http://n2.nabble.com/file/n2676400/file.jpeg">http://n2.nabble.com/file/n2676400/file.jpeg</a>
again i did anything wrong??????????
Regards,
Padmini.
Kenneth Skovhede, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">IIRC Shape files consist of more than just the SHP file.
You must upload all the "Properties.*" files to the datasource,
even if the upload file dialog is misleading (you must select "All
files" to see them).
A ticket for this problem is here.
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/ticket/783">http://trac.osgeo.org/mapguide/ticket/783</a>
Regards, Kenneth Skovhede, GEOGRAF A/S
padmini godavarthi skrev:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
but i did it as per ur instruction but it didn't come
<a class="moz-txt-link-freetext" href="http://n2.nabble.com/file/n2676097/over.jpeg">http://n2.nabble.com/file/n2676097/over.jpeg</a>
my code as same as previous
MgResourceIdentifier featSourceId = new
MgResourceIdentifier(selLayer.GetFeatureSourceId());
MgSpatialContextReader ctxs =
featureSrvc.GetSpatialContexts(featSourceId, false);
String srsDefDs = "";
if (ctxs != null && ctxs.ReadNext())
srsDefDs = ctxs.GetCoordinateSystemWkt();
in srsDefDs i got null
does i did any thing wrong
Regards,
Padmini.
Kenneth Skovhede, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Yes, your FeatureSource reports an empty coordinate system, so you have
to specify it manually.
There is a short explanation on how to use overrides here:
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/fdo/wiki/FdoGdalNotes#OverridingCoordinateSystems">http://trac.osgeo.org/fdo/wiki/FdoGdalNotes#OverridingCoordinateSystems</a>
Regards, Kenneth Skovhede, GEOGRAF A/S
padmini godavarthi skrev:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
thanks but is it necessary overriding a coordinate system????????
How it willbe done???????
can u provide me some guidance???????
i have seen ur link but no data available in that for overrides
coordinate
system
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/wiki/maestro/UserGuides/RasterFeatureSource">http://trac.osgeo.org/mapguide/wiki/maestro/UserGuides/RasterFeatureSource</a>
can u plz tell me????????????
Regards,
Padmini.
Kenneth Skovhede, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">No, I meant "Coordinate System Override", which is located on the
FeatureSource editor at the bottom.
See screenshots here:
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/wiki/maestro/UserGuides/RasterFeatureSource">http://trac.osgeo.org/mapguide/wiki/maestro/UserGuides/RasterFeatureSource</a>
Regards, Kenneth Skovhede, GEOGRAF A/S
padmini godavarthi skrev:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
Thanks for ur reply
u man to say in mapdefinition(in maestro)????????????????
iam using maestro and i have selected the coordinate system as
<a class="moz-txt-link-freetext" href="http://n2.nabble.com/file/n2675676/coor.jpeg">http://n2.nabble.com/file/n2675676/coor.jpeg</a>
does i did any thing wrong???????????????
Regards,
Padmini.
Kenneth Skovhede, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Have you tried to add a coordinate system override,
using Maestro or Studio?
Regards, Kenneth Skovhede, GEOGRAF A/S
padmini godavarthi skrev:
</pre>
<blockquote type="cite">
<pre wrap=""> Hi,
iam using mapguide opensource 2.0 (with .net 2.0 +IIS 5.1)
i want to make a buffer to my data
the buffer function works fine for this sheboygan data but not for
my
data
i have debugged the application and i got the error at
MgResourceIdentifier featSourceId = new
MgResourceIdentifier(selLayer.GetFeatureSourceId());
MgSpatialContextReader ctxs =
featureSrvc.GetSpatialContexts(featSourceId, false);
String srsDefDs = "";
if (ctxs != null && ctxs.ReadNext())
srsDefDs = ctxs.GetCoordinateSystemWkt();
In Sheboygan data
srsDefDs comes as GEOGCS["WGS84 Lat/Long's, Degrees, -180 ==>
+180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",6378137,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
but for my data
srsDefDs comes as null
Actually my data is in coordinate system
GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS
84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
can u plz tell me the solution????????????????????????
plzzz
Regards,
Padmini.
</pre>
</blockquote>
<pre wrap="">_______________________________________________
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>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">_______________________________________________
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>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">_______________________________________________
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>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">_______________________________________________
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>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>