OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Small fix SHP plugin


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Submission
View previous topic :: View next topic  
Author Message
Andreas Ekstrand
Guest





PostPosted: Fri Dec 09, 2016 1:37 pm    Post subject:
Small fix SHP plugin
Reply with quote

Hi,

The attached ESRIShape.cpp contains a small fix in parsing of PointZ features, now correctly comparing with header content length which is defined in 16-bit words.

This should have been fixed in my old submission from 2012 but was probably overlooked due to an alternative way of comparing to a fix number for this feature type.

Without this fix, the plugin will only read one PointZ feature even if multiple features exist.

Regards,
Andreas

------------------
Post generated by Mail2Forum
Back to top
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11245

PostPosted: Wed Dec 21, 2016 11:43 am    Post subject:
Small fix SHP plugin
Reply with quote

Thanks Andreas, fix merged with OSG-3.4 branch and master.

On 9 December 2016 at 13:37, Andreas Ekstrand
<> wrote:
Quote:
Hi,

The attached ESRIShape.cpp contains a small fix in parsing of PointZ
features, now correctly comparing with header content length which is
defined in 16-bit words.

This should have been fixed in my old submission from 2012 but was probably
overlooked due to an alternative way of comparing to a fix number for this
feature type.

Without this fix, the plugin will only read one PointZ feature even if
multiple features exist.

Regards,
Andreas







------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Submission All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts obj plugin does not support diffuse ... Ralf Habacker Submission 0 Tue Nov 14, 2017 4:18 pm View latest post
No new posts Fix for cmake modules for plugin exr robertosfield Submission 1 Tue Nov 14, 2017 10:17 am View latest post
No new posts People currently using the ffmpeg/lib... Chris Hanson General 7 Fri Nov 03, 2017 4:08 pm View latest post
No new posts Make ObjOptionsStruct in obj plugin a... Ralf Habacker Submission 1 Fri Oct 20, 2017 8:31 am View latest post
No new posts Multiple video textures using ffmpeg ... mmaurus Plugins [osgPlugins] 6 Thu Oct 05, 2017 10:02 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP