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: 10893

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 osg plugin couldn't load an osgb or i... first_gle General 2 Sat May 27, 2017 3:52 am View latest post
No new posts PLY Plugin uwew Submission 0 Sat Apr 08, 2017 6:26 am View latest post
No new posts Guidance on zip-plugin fix SMesserschmidt General 0 Thu Feb 16, 2017 1:59 pm View latest post
No new posts PNG plugin loaded / unloaded Steal General 3 Sun Feb 05, 2017 6:30 pm View latest post
No new posts WG: Fix for DICOM plugin (DCMTK) : co... robertosfield Submission 0 Wed Dec 21, 2016 4:03 pm 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