From: Paul O. <new...@ki...> - 2008-02-19 21:30:01
|
On Wed, 20 Feb 2008, Toby Collett wrote: > we resolved our quirk, the new method of extracting the wkb returns extended > wkb intsead of standard wkb which we didnt support at our end. All sorted > now. > > Toby I don't have much experience with GEOS C library so I couldn't find how to include SRID to new geometries created by GEOSGeom_createLineString() call. Do you know how to do this? I've tried to use GEOSSetSRID() call, but whatever I set, GEOSGeomToWKB_buf() creates WKB with SRID set to -1. The only workaround I see now is to create geometry table like this: SELECT AddGeometryColumn('public', 'obstacles', 'geom', -1, 'LINESTRING', 2); so it will add constraint: "enforce_srid_geom" CHECK (srid(geom) = -1) Paul > > On 19/02/2008, Paul Osmialowski <new...@ki...> wrote: >> >> >> >> On Tue, 19 Feb 2008, Toby Collett wrote: >> >>> If you wish to contribute these utilities to the player project submit a >>> tarball of a vectortools directory that builds in the player utils >> directory >>> and it should be no problem to include it in player. Thanks for all your >>> work on this stuff, we have one quirk with the latest patch to postgis >> at >>> our end, but will let you know once we have done some more debugging at >> our >>> end. >>> >>> Toby >>> >> I hope it will be that simple adding new utils to Player distro, I'll try >> to do that soon. >> I have copied vectortools to one more place since vlab.pjwstk.edu.pl has >> problems with network connection and I don't know how long it would last. >> That's the new place: http://king.net.pl/playercontrib/vectortools >> What is the quirk you have mentioned in your message? >> >> Paul >> >> > On 18/02/2008, Paul Osmialowski <new...@ki...> wrote: >>>> >>>>> 1. vec2map plugin - requires vectormap and provides regular map - it >>>> does >>>>> real-time vectormap to map conversion. It was intented to provide both >>>>> grid and vectors, unfortunately, vector fields of regular map >> interface >>>> is >>>>> broken PROBABLY AT XDR LEVEL and probably it is caused by new-style >>>>> dynamic memory management (list of vector segments is a dynamic >> thing). >>>>> *** THIS SHOULD BE FIXED by someone familiar with Player's XDR logic >>>> **** >>>> >>>> ****** There wasn't any error really, it was my mistake! Now vec2map >> works >>>> fine, and it is the first map interface driver I know that can handle >>>> PLAYER_MAP_REQ_GET_VECTOR request. New version of both vectortools and >>>> vectest is available here: >> http://vlab.pjwstk.edu.pl/~vlabdemo/vectortools >>>> >>>> Cheers, >>>> Paul >>>> >>>> >>>> >> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> Playerstage-developers mailing list >>>> Pla...@li... >>>> https://lists.sourceforge.net/lists/listinfo/playerstage-developers >>>> >>> >>> >>> >>> -- >>> This email is intended for the addressee only and may contain privileged >>> and/or confidential information >>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Playerstage-developers mailing list >> Pla...@li... >> https://lists.sourceforge.net/lists/listinfo/playerstage-developers >> > > > > -- > This email is intended for the addressee only and may contain privileged > and/or confidential information > |