On Thu, Sep 22, 2011 at 9:18 PM, Andy Colson mailto:a...@squeakycode.net>> wrote:
Hi List,
I'm using ogr2ogr to convert (and reproject) data from shapefile to PG, if
I use insert statements the null dates are not a problem, but if I set
PG_USE_COPY=YES, then I get errors:
ERROR 1:
Hi Everyone
ogr2ogr is a great tool for converting any format.
Now there is DXF format and ogr2ogr works very well with polygons, lines and
points.
There is a problem if I want to export a DXF file with the text from a field.
When I have a point shape file with text field ogr2ogr only export a D
Selon Tamas Szekeres :
> Hi Even,
>
> Thanks for the valuable comments, I've modified the patch in accordance with
> your suggestions.
> http://trac.osgeo.org/gdal/attachment/ticket/4259/swq_op_general.cpp.patch
>
Looks good to me.
> Best regards,
>
> Tamas
>
>
>
> 2011/9/23 Even Rouault
>
> >
It Works !
Thanks !
Guilhain
2011/9/26 Jay L.
> What about something like this? The block in the middle copies your fields
> and field definitions. The def statement handles copying the individual
> fields for each feature. Your script then goes in an modifies the geometry.
>
>
> This does
What about something like this? The block in the middle copies your fields
and field definitions. The def statement handles copying the individual
fields for each feature. Your script then goes in an modifies the geometry.
This does roughly the same thing that Frank suggested, but is more scri
Guilhain,
The problem is that you aren't setting the precison when you create
the new fields, so it is defaulting to precision zero (integer).
You will need a call something like:
newField.SetPrecision( 11 )
Best regards,
On Mon, Sep 26, 2011 at 9:09 AM, Guilhain Averlant wrote:
> Hi Every
Hi Even,
Thanks for the valuable comments, I've modified the patch in accordance with
your suggestions.
http://trac.osgeo.org/gdal/attachment/ticket/4259/swq_op_general.cpp.patch
Let me know if you find something else that can be changed. I've just added
a warning if the conversion fails, but I'm
Just an update to this, I've created a ticket for this problem, and attached
a patch which seems to be working in my local set-up.
http://trac.osgeo.org/gdal/ticket/4262
Due to the lack of my knowledge about bison let me know if one have a more
appropriate solution to this problem.
Any objection
I solved with the following steps:
1 - right click on project name in "Property Manager" window;
2 - click on properties;
3 - go to Configuration Properties --> Linker --> Input --> Additional
Dependencies;
4 - Add gdal_i.lib (which should be installed by nmake into $GDAL_HOME\lib)
Now the linkin
Hi
first install geos library using Ubuntu software center (libgeos,
libgeos-dev)
then download gdal source and configure it:
./configure --with-python -with-geos=yes
then
make
sudo make install
If that doesn't work give me a sign, I'll publish more detailed
instructions.
Good luck!
Anton
p
10 matches
Mail list logo