Hi Johannes,
We build everything from source on OS X but found we also had to build all the
prerequisites rather than downloading binaries as often they are not compiled
with all the required options. I would recommend trying this using the build
instructions on Pete's website.
If you want to make improvements to the cmake files feel free to do so and
submit a pull request.
Hope this helps,
Dan
> On 19 Feb 2015, at 10:45, [email protected] wrote:
>
> Hi,
>
> I am new with SPDLib on OS X Yosemite (10.10.2). I tried to compile from
> source which generally works. I use the newest available compile instructions
> from
> http://users.aber.ac.uk/pfb/software/spdlib/spdlib-20140428.BuildInstructions
> with most recent sources from
> https://bitbucket.org/petebunting/spdlib/downloads.
>
> I also use the GDAL, GEOS and PROJ frameworks from KyngChaos. Other
> dependencies are installed from MacPorts. When running the command line tools
> several issues occure. Most important seems to me that the projection is not
> written or handeled correctly. I spdtranslate an TLS ASCII file to SPD while
> setting the --input_proj with a .wkt file produced with spdproj. spdtranslate
> runs without error but when checking the file with spdinfo the only
> information for 'Spatial Reference' is :
>
> Spatial Reference: vlen
>
>
>
> Secondly, when running spdsubset using a shapefile as boundary the subsetting
> is run two times one time with the correct clipping boundary and a second
> time with the extend of the original SPD dataset. The output is just the
> original dataset again. Output on the terminal while processing is:
>
>
> $ spdsubset -o /Users/....../xyzi_clip.spd -i /Users/......./xyzi.spd
> --shpfile /Users/....../square.shp
> spdsubset SPDLib 3.1.282, Copyright (C) 2014 Sorted Pulse Library (SPD)
> This program comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to redistribute it under certain conditions; See
> website (http://www.spdlib.org). Bugs are to be reported on the trac
> or directly to [email protected]
> X Min:nan
> X Max:nan
> Y Min:nan
> Y Max:nan
> Z Min:nan
> Z Max:nan
> Subset To: X[676632,676657] Y[246021,246046]
> New SPD file has 27 columns and 28 rows
> Started (Write Data)
> ..0..10..20..30..40..50..60..70..80..90..100..110..120..130.. Complete.
> Subset To: X[676484.9499,676801.6998] Y[245881.3546,246183.5806]
> Z[514.537780762,699.773620605]
> New SPD file has 318 columns and 304 rows
> Started (Write Data) ..0..10..20..30..40..50..60..70..80..90..100.. Complete.
> spdsubset - end
>
>
> Generally I have the impression that the CMakeLists are not very clean.
> Amongst others there seems to be an issue with missing @RPath.
>
>
> Another thing is that the (very) old native Mac OS X app bundle available for
> download and which comes with SPDLib version 1.0.0 works absolutely fine.
> Just that there are many useful functions from the newest version missing. Me
> and other Mac using colleagues would greatly appreciate an update of these
> Mac binaries!
>
>
> Further, I tested SPDLib using Conda on the same Mac. Here the projection
> with spdinfo is shown correctly when translating the ASCII via the Conda
> based tools. However, spdsubset has the same strange behaviour (additionally
> it takes forever: >2 hours compared to some minutes with the self-compiled
> Mac binaries on the same dataset). Don't know what's happening. Also the
> viewer is not available through Conda for OS X.
>
>
> Hope you can help. Thanks in advance!
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> spdlib-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spdlib-develop
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
spdlib-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spdlib-develop