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">&lt;<a href="mailto:adam.jamison@portbris.com.au">adam.jamison@portbris.com.au</a>&gt;</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>
&gt;<br>
&gt; why don&#39;t you insert sql features using SQL spatial scripts?<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt;<br>
&gt; Gunter Becker wrote:<br>
&gt;&gt;<br>
&gt;&gt; Is there at least anyone who had successfully added features to SQL<br>
&gt;&gt; Server 2008 Spatial with the MapGuide API. What could cause problems when<br>
&gt;&gt; adding features to the database?<br>
&gt;&gt;<br>
&gt;&gt; I think there was another thread (<br>
&gt;&gt; <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>
&gt;&gt; MSSqlServer Spatial problem ) that describes a similar problem.<br>
&gt;&gt; But this problem had to do with 3-dimensional point what is not what i am<br>
&gt;&gt; using. I am using x,y-points.<br>
&gt;&gt;<br>
&gt;&gt; Any ideas?<br>
&gt;&gt;<br>
&gt;&gt; Gunter<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Gunter Becker wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; i&#39;m trying to add features to an existing FeatureSource via MapGuide<br>
&gt;&gt;&gt; API. I&#39;ve created a new schema with Autodesk Map 2010, created some<br>
&gt;&gt;&gt; polygons, created my feature source and layer in MapGuide Studio,<br>
&gt;&gt;&gt; inserted the layer in my map and it shows up fine.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; OK, displaying the features works fine. But when trying to add some<br>
&gt;&gt;&gt; features via the digitize function and my serverside code nothing<br>
&gt;&gt;&gt; happens. It seemes that the code works fine, cause it is the same code<br>
&gt;&gt;&gt; that I use with sdf feature sources and the code throws no error in<br>
&gt;&gt;&gt; debug mode. The &quot;UpdateFeatures&quot;-Methode seems to work but when looking<br>
&gt;&gt;&gt; into the SQL Server table there is no entry and therefore no object on<br>
&gt;&gt;&gt; the map. When logging SQL-Statements with SQL Profiler no activities<br>
&gt;&gt;&gt; were logged.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Only thing that works is deleting an existing map from the<br>
&gt;&gt;&gt; featuresource. So maybe it has to do something with the<br>
&gt;&gt;&gt; coordinatesystem? But as far as I understand the geometry-column of my<br>
&gt;&gt;&gt; databasetable doesn&#39;t need a coordinatesystem assigned!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Someone who had same problem? Any ideas?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks, Gunter<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<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>