or wkb (Well-Known Binary) what I wanted to say ;-)
http://dev.mysql.com/doc/refman/5.0/en/gis-wkb-format.html
Tamas
2008/9/18 Tamas Szekeres <[EMAIL PROTECTED]>:
> 2008/9/18 Paul james <[EMAIL PROTECTED]>:
>
>> I got a point from postgis in this format :
>> 010100594000
2008/9/18 Paul james <[EMAIL PROTECTED]>:
> I got a point from postgis in this format :
> 01010059405940
It smells like a wkt geometry representation in hexstring format. You
should convert this into a binary array and then use
Geometry.CreateFromWkb, something like (u
Paul,
You should probably do the following steps when creating a new layer
from scratch:
// Register OGR
Ogr.RegisterAll();
// Get the postgis driver
Driver drv = Ogr.GetDriverByName("PostgreSQL");
// Create the datasource
DataSource ds = drv.CreateDataSource( [data source name], new string[]
Thanks ...
But what I need now is manipulate the geometry values in c#...
I got a point from postgis in this format :
01010059405940
I cant use AsText postgis function...
So, in my server(c#) I have to Convert that "numbers" to Point to change it
...
Any help?
On Thu,
Connect to the database and run
INSERT INTO mytable (the_geom) VALUES
(ST_SetSRID(ST_GeometryFromText('blahblah'),));
P.
On Thu, Sep 18, 2008 at 8:43 AM, Paul james <[EMAIL PROTECTED]> wrote:
> Thanks Thamas...
> Thats sounds great...
> But, after I used Geometry.CreateFromWkt function to co
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 <[EMAIL PROTECTED]>wrote:
> Paul,
>
> You could probably use the GDAL C# bindings and the
> Geom
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 <[EMAIL PROTECTED]>:
> Hello Guys...
> I´d like to add a point in a P
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@lists.osgeo.org
http://lists