Robert Osfield
ee4e2afa76
From Philip Lowman, clean up of CMake files
2009-04-09 09:23:45 +00:00
Robert Osfield
aa8402ce81
Added workaround for silly posix read deprecation warning under VS.
2009-01-23 15:02:04 +00:00
Robert Osfield
6055dee411
Fixed warnings
2008-12-18 15:49:44 +00:00
Robert Osfield
720551d549
From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and
...
fopen to osgDB::fopen to facilitate support for wide character filenames using UT8 encoding.
2008-11-07 15:08:08 +00:00
Robert Osfield
7c6aba874b
Added option docs
2008-07-25 09:46:05 +00:00
Robert Osfield
ebf3804c84
From Sebastien Messerschmidt, "attached you'll find a patch for the shp-plugin.
...
I've spotted huge memory leaks int ShapeParser and fixed them.
Also, there was a missing destructor (PolygonM) and a missing member initialization (PolygonZ)
Would be nice if someone could test the changes.
To release the memory just if no reading error happened (and therefore the arrays would be valid) I've added an macro to release and reset the pointers at once. I'm not using macros myself very often as I don't like them, but I think it doesn't hurt in this code.
"
2008-05-08 15:17:53 +00:00
Robert Osfield
4a79644810
Added support for automatically setting the coordinate system of a shapefile by reading associate .prj file
2007-12-16 16:18:58 +00:00
Robert Osfield
831dc38166
From Andy Skinner, build fixes for Solaris
2007-12-13 15:24:42 +00:00
Robert Osfield
0dc71306e7
Fixed memory leak
2007-12-13 14:26:03 +00:00
Robert Osfield
62bba8e52b
From Sherman Wilcox, "In ESRIShapeParser.cpp, wasn't closing the file handle. Added:
...
if(fd)
{
close(fd);
fd = 0;
}
to the constructor."
2007-12-10 20:56:26 +00:00
Robert Osfield
9b56dbe83a
From David Callu, added support for automatically reading associate dbase files
2007-12-10 12:45:16 +00:00
Robert Osfield
13ff9f28d5
Char char[] to char* with new allocation.
2007-12-10 12:00:09 +00:00
Robert Osfield
695df58bc9
Refactored record allocation to fix build errors under Windows.
2007-12-10 11:34:00 +00:00
Robert Osfield
8648cd12ea
From Gustavo Wagner, fixed bugs in reading M records from shapefile
2007-12-09 16:38:33 +00:00
Robert Osfield
78c1fd4844
From David Callu, added DBase attribute support for shapefiles
2007-12-09 15:43:49 +00:00
Robert Osfield
8a4caa0a59
Added optional double support via new Vec3dArray support in osg::Geometry.
...
To enable double usage set the option string "double" i.e.
osgviewer myshapefile.shf -O "double"
2007-12-04 14:46:08 +00:00
Robert Osfield
9e2fe92ef1
From Rudolf Wiedemann, "I need to link OpenSceneGraph statically to my application, so I
...
completed the new registration of the plugin-readerwriters
("REGISTER_OSGPLUGIN") according to your osgstaticviewer-example (see
attachment, based on today's svn)."
2007-07-06 13:54:26 +00:00
Robert Osfield
2e6ee4bb39
Removed old gmake and VisualStudio build files
2007-04-10 13:10:25 +00:00
Robert Osfield
37dd2851e9
Added #include <unistd.h> for non Win32/Mingw build
2007-03-27 08:43:59 +00:00
Robert Osfield
282f4ce0b9
Moved the TARGET_NAME setting into the OsgMacroUtils.cmake.
2007-03-19 17:24:19 +00:00
Robert Osfield
da64127539
Ran dos2unix on CMakeLists.txt files.
2007-03-19 13:26:34 +00:00
Robert Osfield
be3f61c49f
From Luigi Calori, move to using local CMakeLists.txt files and explicit file lists.
...
From Robert Osfield, small ammendments of the above to seperate example and application installs, and fix the osgPlugins install directory.
2007-03-19 12:30:26 +00:00
Robert Osfield
f5cf560fe1
Renamed the follow plugins to facilitate CMake build
...
lib3ds -> 3ds
ac3d -> ac
directx -> x
ESRIShape -> shp
2007-03-11 13:23:06 +00:00