[mapguide-users] can anyone solved this buffer problem

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Wed Apr 22 09:12:20 EDT 2009


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:
http://trac.osgeo.org/fdo/wiki/FdoGdalNotes#OverridingCoordinateSystems

Regards, Kenneth Skovhede, GEOGRAF A/S



padmini godavarthi skrev:
> 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
>
> http://trac.osgeo.org/mapguide/wiki/maestro/UserGuides/RasterFeatureSource
>
> can u plz tell me????????????
>
> Regards,
> Padmini.
>
>
> Kenneth Skovhede, GEOGRAF A/S wrote:
>   
>> No, I meant "Coordinate System Override", which is located on the 
>> FeatureSource editor at the bottom.
>> See screenshots here:
>> http://trac.osgeo.org/mapguide/wiki/maestro/UserGuides/RasterFeatureSource
>>
>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>
>>
>>
>> padmini godavarthi skrev:
>>     
>>> Hi,
>>> Thanks for ur reply 
>>> u man to say in mapdefinition(in maestro)????????????????
>>> iam using maestro and i have selected  the coordinate system as  
>>>
>>> http://n2.nabble.com/file/n2675676/coor.jpeg 
>>>
>>> does i did any thing wrong???????????????
>>>
>>> Regards,
>>> Padmini.
>>>
>>>
>>> Kenneth Skovhede, GEOGRAF A/S wrote:
>>>   
>>>       
>>>> Have you tried to add a coordinate system override,
>>>> using Maestro or Studio?
>>>>
>>>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>>>
>>>>
>>>>
>>>> padmini godavarthi skrev:
>>>>     
>>>>         
>>>>>  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.
>>>>>   
>>>>>   
>>>>>       
>>>>>           
>>>> _______________________________________________
>>>> mapguide-users mailing list
>>>> mapguide-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>>
>>>>
>>>>     
>>>>         
>>>   
>>>       
>> _______________________________________________
>> 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/20090422/d95cce6f/attachment.html


More information about the mapguide-users mailing list