[mapserver-users] geomfromtext (POSTGIS) in C# or other language...

Paul Ramsey pramsey at cleverelephant.ca
Thu Sep 18 12:13:35 EDT 2008


Connect to the database and run

INSERT INTO mytable (the_geom) VALUES
(ST_SetSRID(ST_GeometryFromText('blahblah'),XXXX));

P.

On Thu, Sep 18, 2008 at 8:43 AM, Paul james <pauljame at gmail.com> wrote:
> Thanks Thamas...
> Thats sounds great...
> But, after I used Geometry.CreateFromWkt function to convert my geometry,
> how can I add it to the PostGis Layer?
>
> On Thu, Sep 18, 2008 at 12:06 PM, Tamas Szekeres <szekerest at gmail.com>
> wrote:
>>
>> Paul,
>>
>> You could probably use the GDAL C# bindings and the
>> Geometry.CreateFromWkt function for this purpose.
>> For more information see the createdata.cs example in the gdal source
>> tree.
>>
>> Best regards,
>>
>> Tamas
>>
>>
>> 2008/9/18 Paul james <pauljame at gmail.com>:
>> > Hello Guys...
>> > I´d like to add a point in a Postgis layer... I´m able to do this using
>> > geomfromtext function (postgis)...
>> > I´d like to do that in C#  ...
>> > Is that possible?
>> >
>> > Thankz
>> > _______________________________________________
>> > mapserver-users mailing list
>> > mapserver-users at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> >
>> >
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


More information about the mapserver-users mailing list