Re: [gdal-dev] Does "OGR_STYLE from rivers" mean it will read rivers.ofs ?

2016-07-02 Thread 積丹尼 Dan Jacobson
Maybe http://www.gdal.org/ogr_feature_style.html is just a framework and not something that is implemented anywhere? Are there any examples of anybody using LABEL(f:"Times New Roman",s:12pt,t:{text_string}) to print anything anywhere? ___ gdal-dev

Re: [gdal-dev] Does "OGR_STYLE from rivers" mean it will read rivers.ofs ?

2016-07-02 Thread 積丹尼 Dan Jacobson
All I want to do is try the various Label Placement Modes seen in http://www.gdal.org/ogr_feature_style.html , given my LineString of .csv Lon/Lat points that I stripped out of my .kml. Surely there is a way to attach Label Placement Modes to a LineSrting and then output it to some .png etc. file,

Re: [gdal-dev] Does "OGR_STYLE from rivers" mean it will read rivers.ofs ?

2016-07-02 Thread 積丹尼 Dan Jacobson
But this applies the style to all the points in the line, but I just want to apply it to the line itself. And then how can I finally print the result to a .png file? Convert to .shp and view in qgis? But my .shp ended up with no points in it. ___

Re: [gdal-dev] Does "OGR_STYLE from rivers" mean it will read rivers.ofs ?

2016-07-02 Thread 積丹尼 Dan Jacobson
I finally gave up and stipped the KML data into a .csv and finally was able to (according to ogrinfo) successfully attach styles to it with this .vrt file: road.csv wkbLineString WGS84 SELECT *,'PEN(c:#FF00FF,w:10px)' AS OGR_STYLE FROM road

Re: [gdal-dev] Test Windows Build

2016-07-02 Thread Jürgen E . Fischer
Hi Christopher, On Sat, 02. Jul 2016 at 11:47:35 -0600, Christopher McGeorge wrote: > Hi. Could anyone please suggest a way, preferably one that I can automate, > to verify that GDAL Windows builds were successful, such as by running one > of the generated exe files in the apps folder? Does

[gdal-dev] Test Windows Build

2016-07-02 Thread Christopher McGeorge
Hi. Could anyone please suggest a way, preferably one that I can automate, to verify that GDAL Windows builds were successful, such as by running one of the generated exe files in the apps folder? Thank you, Chris --- This email has been checked for viruses by Avast antivirus software.

Re: [gdal-dev] Does "OGR_STYLE from rivers" mean it will read rivers.ofs ?

2016-07-02 Thread 積丹尼 Dan Jacobson
I failed miserably at adding ANY style to a shapefile. $ ogrinfo -al -q zk2.shp|colrm 66 Layer name: zk2 Metadata: DBF_DATE_LAST_UPDATE=2016-07-02 OGRFeature(zk2):0 Name (String) = zaokeng main road 中45市道 descriptio (String) = (null) timestamp (Date) = (null) begin (Date) = (null) end

[gdal-dev] Does "OGR_STYLE from rivers" mean it will read rivers.ofs ?

2016-07-02 Thread 積丹尼 Dan Jacobson
http://www.gdal.org/ogr_feature_style.html says Here is what one of those .OFS files could look like: OFS-Version: 1.0 StyleField: "style" DefaultStyle: PEN(C:#00FF) road: PEN(c:#FF,w:5px) lake: BRUSH(fc:#FF);PEN(c:#00) campsite:

Re: [gdal-dev] Compiling GDAL with Visual Studio 2015

2016-07-02 Thread Christopher McGeorge
Thank you, Jeff and James! Chris -Original Message- From: gdal-dev [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Jeff McKenna Sent: Saturday, July 02, 2016 5:45 AM To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Compiling GDAL with Visual Studio 2015 I would reinforce

Re: [gdal-dev] gdalbuildvrt 2.1.0 and off by 1 pixel display

2016-07-02 Thread Jed Frechette
Great. Thanks!   Original Message   From:even.roua...@spatialys.com Sent:July 1, 2016 15:50 To:jedfreche...@gmail.com Cc:gdal-dev@lists.osgeo.org Subject:Re: [gdal-dev] gdalbuildvrt 2.1.0 and off by 1 pixel display Le vendredi 01 juillet 2016 22:48:36, Jed Frechette a écrit : > On 2016-07-01

Re: [gdal-dev] R: Problem using ogrlineref

2016-07-02 Thread Dmitry Baryshnikov
Hi Dan, Feel free to rewrite the docs more understandable. You have to fork https://github.com/OSGeo/gdal make changes to https://github.com/OSGeo/gdal/blob/trunk/gdal/apps/ogr_utilities.dox and provide pull request. Also, look at man pages of other utilities as an example how it should be

Re: [gdal-dev] Compiling GDAL with Visual Studio 2015

2016-07-02 Thread Jeff McKenna
I would reinforce what James said: be careful choosing the command prompt, the default "Developer Command prompt for VS2015" with Visual Studio 2015 installed on an x64 machine actually builds in x86 - you actually need to use the "VS2015 x64 Native Tools Command Prompt". Once the window is

Re: [gdal-dev] Compiling GDAL with Visual Studio 2015

2016-07-02 Thread James Ramm
I'm am compiling successfully with vs 2015, both the library and python 3 bindings. The only thing I would add is to make sure you run vcvarsall.bat amd64. I'm building from trunk. On 2 Jul 2016 4:02 a.m., "Christopher McGeorge" wrote: > Thank you for your help,