Re: [postgis-users] Update to current shapelib

2010-08-04 Thread Mark Cave-Ayland

Peter Hopfgartner wrote:


Hi

I tried to upgrade the shapelib version in PostGIS to the current one, as found 
in the current shapelib CVS repository.

What I did was:
 * copy safileio.c shapefil.h shpopen.c dbfopen.c from shapelib
 * add support for dates and include the functions DBFReadSetup and 
DBFReadDeleted from the current PostGIS shapelib version.
 * adapt Makefile.in

This was done with 1.5, adapting this to trunk should be easy.

Regards,

Peter


Hi Peter,

Thanks for this. Was this for a particular bug that you needed to work 
around? Please feel free to create a ticket in the bugtracker and attach 
a patch in diff -u format against SVN trunk.



ATB,

Mark.

--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] Update to current shapelib

2010-08-04 Thread Peter Hopfgartner




Mark Cave-Ayland mark.cave-ayl...@siriusit.co.uk wrote
Subject: Re: [postgis-users] Update to current shapelib
Date: 04.08.2010 11:40

Peter Hopfgartner wrote:

 Hi
 
 I tried to upgrade the shapelib version in PostGIS to the current one,
as found in the current shapelib CVS repository.
 
 What I did was:
  * copy safileio.c shapefil.h shpopen.c dbfopen.c from shapelib
  * add support for dates and include the functions DBFReadSetup and
DBFReadDeleted from the current PostGIS shapelib version.
  * adapt Makefile.in
 
 This was done with 1.5, adapting this to trunk should be easy.
 
 Regards,
 
 Peter

Hi Peter,

Thanks for this. Was this for a particular bug that you needed to work 
around? Please feel free to create a ticket in the bugtracker and attach 
a patch in diff -u format against SVN trunk.


ATB,

Mark.


Hi Mark,

We are currently doing some analysis on some issues we have with shape import 
and export in our applications. One of the problems we have is related to code 
pages, which was fixed in the official shapelib.

I've created http://trac.osgeo.org/postgis/ticket/554 .

Regards,

Peter

___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users