sdf is r/w via mapguide?<br><br>just a guess, is your feature source defined as read only?<br><br>this might help?<br><br><a href="http://trac.osgeo.org/mapguide/ticket/649">http://trac.osgeo.org/mapguide/ticket/649</a><br>
<br><br><br><div class="gmail_quote">On Tue, Oct 27, 2009 at 1:11 PM, Jamo <span dir="ltr"><<a href="mailto:adam.jamison@portbris.com.au">adam.jamison@portbris.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I think mapguide api only exposes sdf write capabilities?<br>
Might have to do it through fdos<br>
<div><div></div><div class="h5"><br>
Rodolfo Moreno wrote:<br>
><br>
> why don't you insert sql features using SQL spatial scripts?<br>
><br>
> Regards,<br>
><br>
><br>
> Gunter Becker wrote:<br>
>><br>
>> Is there at least anyone who had successfully added features to SQL<br>
>> Server 2008 Spatial with the MapGuide API. What could cause problems when<br>
>> adding features to the database?<br>
>><br>
>> I think there was another thread (<br>
>> <a href="http://n2.nabble.com/MSSqlServer-Spatial-problem-tt3148712.html#a3154109" target="_blank">http://n2.nabble.com/MSSqlServer-Spatial-problem-tt3148712.html#a3154109</a><br>
>> MSSqlServer Spatial problem ) that describes a similar problem.<br>
>> But this problem had to do with 3-dimensional point what is not what i am<br>
>> using. I am using x,y-points.<br>
>><br>
>> Any ideas?<br>
>><br>
>> Gunter<br>
>><br>
>><br>
>><br>
>> Gunter Becker wrote:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> i'm trying to add features to an existing FeatureSource via MapGuide<br>
>>> API. I've created a new schema with Autodesk Map 2010, created some<br>
>>> polygons, created my feature source and layer in MapGuide Studio,<br>
>>> inserted the layer in my map and it shows up fine.<br>
>>><br>
>>> OK, displaying the features works fine. But when trying to add some<br>
>>> features via the digitize function and my serverside code nothing<br>
>>> happens. It seemes that the code works fine, cause it is the same code<br>
>>> that I use with sdf feature sources and the code throws no error in<br>
>>> debug mode. The "UpdateFeatures"-Methode seems to work but when looking<br>
>>> into the SQL Server table there is no entry and therefore no object on<br>
>>> the map. When logging SQL-Statements with SQL Profiler no activities<br>
>>> were logged.<br>
>>><br>
>>> Only thing that works is deleting an existing map from the<br>
>>> featuresource. So maybe it has to do something with the<br>
>>> coordinatesystem? But as far as I understand the geometry-column of my<br>
>>> databasetable doesn't need a coordinatesystem assigned!<br>
>>><br>
>>> Someone who had same problem? Any ideas?<br>
>>><br>
>>> Thanks, Gunter<br>
>>><br>
>><br>
>><br>
><br>
><br>
<br>
--<br>
</div></div>View this message in context: <a href="http://n2.nabble.com/Add-features-to-SQL-Server-Spatial-tp3878130p3896621.html" target="_blank">http://n2.nabble.com/Add-features-to-SQL-Server-Spatial-tp3878130p3896621.html</a><br>
<div><div></div><div class="h5">Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Zac Spitzer -<br><a href="http://zacster.blogspot.com">http://zacster.blogspot.com</a><br>+61 405 847 168<br>