[Shapelib] shapelib vector output inverted?

Tommy Chheng tcchheng at ucsd.edu
Tue Apr 10 08:00:44 PDT 2007


Hi,
I'm having problems with using the shapelib in that it creates the shp 
vector file inverted.
The input file is just two ships and the image_vector.png is the output. 
It's suppose to show the boxes in the position of the ships. It shows 
the correct dimensions but inverted.
Any ideas?

I'm using these commands:
shpcreate test_ship polygon
shpadd test_ship 1 17 42 17 42 45 1 45
shpadd test_ship 40 82 200 82 200 175 40 175

tommy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: input.jpg
Type: image/jpeg
Size: 8291 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/shapelib/attachments/20070410/f3d10af8/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image_vector.PNG
Type: image/png
Size: 21901 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/shapelib/attachments/20070410/f3d10af8/attachment.png>


More information about the Shapelib mailing list