Re: [gdal-dev] PDF Image Rendering issues with Poppler

2015-09-29 Thread Even Rouault
Robert,

Works fine for me with poppler 0.35.0 on Linux and with GDAL trunk.

One key information you didn't mention is your GDAL version. If it is 1.11.2 
or older, poppler >= 0.31.0 isn't supported.
See https://trac.osgeo.org/gdal/ticket/6118

You can also test with the builds / SDKs at http://www.gisinternals.com/

Even

>  Gents,
> I downloaded poppler 0.35.0 and used CMAKE to produce VS2012 solution files
> with freetype, jpeg, png, zip, cairo on Windows 7.  I downloaded and
> linked against static libraries of png, lcms2, and zlib. I created a
> simple test PDF and uploaded at:   
> http://www.filedropper.com/littlecmslogo If you do not trust the hosted
> source, all I did was took little CMS Logo from their API specifications
> PDF and copy/paste into a new MS Word document with a line of text above
> the logo.  Saved the file as a PDF. Here are a few questions I would like
> to be answered:
> 1. Can someone explain why I cannot render this particular image?  2. What
> type of decoding/rendering issues am I having? 3. Did I forget to include
> another third-party package for poppler?  4. What are the recommended
> settings when building poppler for GDAL usage (i.e., what items within
> poppler should/requires to be enabled) ? 5. If I cannot get an answer for
> that, how can I look into the PDF document hex data or dictionary to see
> how the image was stored?
> 
> Thanks in advance,
> Bob

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] S57 SDK in .NET developer

2015-09-29 Thread Dmitry Baryshnikov

Hi, Thang,

What is the different between  S57 SDK for .NET and GDAL S57 driver with 
CSharp bindings?

There is the sources and API?

Best regards,
Dmitry

29.09.2015 05:36, Dao Thang пишет:


Hi everybody,

I'd like to announce i did the S57 SDK for .NET developer.

Anyone want this please contact me.

Thank you,
Thang.


___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] How to deal with IIP image via WMS minidriver?

2015-09-29 Thread Even Rouault
Carlo,

I've just committed in GDAL trunk a IIP mini driver. Requires a IIP server
that supports the JTL extension (which was the case for the 2 online services I 
tested).
Online doc at http://www.gdal.org/frmt_wms.html will be refreshed in a few 
hours.

A few demos:

$ gdalinfo 
"IIP:http://merovingio.c2rmf.cnrs.fr/fcgi-bin/iipsrv.fcgi?FIF=globe.256x256.tif;
Driver: WMS/OGC Web Map Service
Files: none associated
Size is 86400, 43200
Coordinate System is `'
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (0.0,0.0)
Lower Left  (0.0,43200.0)
Upper Right (86400.0,0.0)
Lower Right (86400.0,43200.0)
Center  (43200.0,21600.0)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
  Overviews: 43200x21600, 21600x10800, 10800x5400, 5400x2700, 2700x1350, 
1350x675, 675x337, 337x168, 168x84
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
  Overviews: 43200x21600, 21600x10800, 10800x5400, 5400x2700, 2700x1350, 
1350x675, 675x337, 337x168, 168x84
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
  Overviews: 43200x21600, 21600x10800, 10800x5400, 5400x2700, 2700x1350, 
1350x675, 675x337, 337x168, 168x84

$ gdal_translate -of WMS  
"IIP:http://merovingio.c2rmf.cnrs.fr/fcgi-bin/iipsrv.fcgi?FIF=globe.256x256.tif;
 globe.wms

$ cat globe.wms


  

http://merovingio.c2rmf.cnrs.fr/fcgi-bin/iipsrv.fcgi?FIF=globe.256x256.tif
  
  
86400
43200
9
  
  256
  256
  3
  


$ gdal_translate globe.wms out.tif -outsize 1024 0 -r bilinear

Best regards,

Even
 :
> Dear Petr,
> I'm very fond of georeferencer.com; for many topographic and geographic
> maps it's more effective than using a desktop application like QGIS.
> 
> The idea of implementing IIP/IIIF inside gdal has several reasons.
> The first one is due to rights over the images. They are meant for personal
> use, sometimes institutions are bound to contracts with private firms that
> would not allow them to put these on georeferencer (I'm strongly againt
> these agreements, but they are here to stay...), so hosting them elsewhere
> would be at least embarassing if not illegitimate (there should also be a
> way to open an arbitrary souce besides uploaded images, which is not the
> case).
> Another one is the ability of comparing historical maps one with another,
> which is sometimes useful, besides a comparison between an unreferenced
> image and Google Maps/Osm. Sometimes being able to use another reference,
> say a cadastral map or a very detailed one is compelling (which is a third
> reason).
> 
> I think that an alternative way to use IIP/IIIF may be useful and in the
> spirit of and Open Source project as gdal.
> It's obviously easy to download the tiles one by one (jot/curl) and
> assemble them in a sometimes huge file (montage), but a more dynamic way is
> a must in these cases. Evan confirmed it would be fairly easy modifying the
> WMS mini-driver to do it, but I think a pseudo-referenced (by pixel) VRT
> file could be forged (as a temporary provision), knowing the number of
> tiles in a row (easy to do) and the number of rows. I'll try to raise some
> funding for the project to help in this development. Meanwhile, if someone
> would like to try doing something on it, I'll be grateful and I will try to
> support this effort even afterwards.
> 
> c
> 
> On Tue, Sep 15, 2015 at 12:12 AM, Petr Pridal 
> 
> wrote:
> > Dear Carlo,
> > 
> > if you use our Georeferencer.com online service we can provide you with a
> > fast OGC WMTS service and crowdsourced online georeferencing of the
> > remote image sources such as IIIF or IIP done in a web browser.
> > 
> > Best regards,
> > 
> > Petr
> > 
> > On Thu, Sep 3, 2015 at 5:17 PM, Carlo A. Bertelli (Charta s.r.l.) <
> > 
> > berte...@chartasrl.eu> wrote:
> >> Hello,
> >> 
> >> is there a way -- maybe using the WMS minidriver -- to open an IIP
> >> streamed picture?
> >> The online service is well documented (
> >> http://iipimage.sourceforge.net/documentation/) but unfortunately it
> >> shows that the protocol is not at all compliant with the WMTS or TMS or
> >> Google/SlippyMap schemas, even if it shares some of the ideas behind
> >> them. There is an also an implementation of a plugin for Leaflet that
> >> could help. Would anyone give some advice on how to deal with this
> >> common raster map source for historical maps?
> >> c

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] Motion: Adopt RFC 59.1: GDAL/OGR utilities as a library

2015-09-29 Thread Daniel Morissette

On 2015-09-29 6:45 AM, Even Rouault wrote:

Hi,

Since no remarks have been done on the latest proposal, I move to adopt RFC
59.1: GDAL/OGR utilities as a library

https://trac.osgeo.org/gdal/wiki/rfc59.1_utilities_as_a_library



+1

Daniel


--
Daniel Morissette
http://www.mapgears.com/
T: +1 418-696-5056 #201

http://evouala.com/ - Location Intelligence Made Easy
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


[gdal-dev] Motion: Adopt RFC 59.1: GDAL/OGR utilities as a library

2015-09-29 Thread Even Rouault
Hi,

Since no remarks have been done on the latest proposal, I move to adopt RFC 
59.1: GDAL/OGR utilities as a library

https://trac.osgeo.org/gdal/wiki/rfc59.1_utilities_as_a_library

Starting with my +1,

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] PDF Image Rendering issues with Poppler

2015-09-29 Thread Robert Zermeno
Thanks Even for the quick reply.   I have an older build of GDAL with poppler 
that works rendering the page I provided, but I am attempting to perform a full 
custom build of poppler with static builds of all third-party libraries.  Now, 
I cannot view the logo and just wondering if someone could provide a little 
insight how Adobe PDF stores the Logo image an in XObject. Is the image stored 
as a standard uncompressed RGB image, zipped image, png image?  I just need a 
little information on where to search within the Hex data of the PDF file to 
debug my problem. This questions probably should fall under the poppler 
project.  I will do that and I just chose to use GDAL as I am using GDAL API 
interface for PDF read/write.  Bob 


 On Tuesday, September 29, 2015 12:54 AM, Even Rouault 
 wrote:
   

 Robert,

Works fine for me with poppler 0.35.0 on Linux and with GDAL trunk.

One key information you didn't mention is your GDAL version. If it is 1.11.2 
or older, poppler >= 0.31.0 isn't supported.
See https://trac.osgeo.org/gdal/ticket/6118

You can also test with the builds / SDKs at http://www.gisinternals.com/

Even

>  Gents,
> I downloaded poppler 0.35.0 and used CMAKE to produce VS2012 solution files
> with freetype, jpeg, png, zip, cairo on Windows 7.  I downloaded and
> linked against static libraries of png, lcms2, and zlib. I created a
> simple test PDF and uploaded at:  
> http://www.filedropper.com/littlecmslogo If you do not trust the hosted
> source, all I did was took little CMS Logo from their API specifications
> PDF and copy/paste into a new MS Word document with a line of text above
> the logo.  Saved the file as a PDF. Here are a few questions I would like
> to be answered:
> 1. Can someone explain why I cannot render this particular image?  2. What
> type of decoding/rendering issues am I having? 3. Did I forget to include
> another third-party package for poppler?  4. What are the recommended
> settings when building poppler for GDAL usage (i.e., what items within
> poppler should/requires to be enabled) ? 5. If I cannot get an answer for
> that, how can I look into the PDF document hex data or dictionary to see
> how the image was stored?
> 
> Thanks in advance,
> Bob

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


  ___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] S57 SDK in .NET developer

2015-09-29 Thread Dao Thang
Hi Dmitry,

My S57 SDK absolutely is .NET framework, it is dependency with GDAL S57
driver.

Thanks.


—

*Đào Trọng Thắng*
*Mobile:* 0919 262 988
Tầng 11 - Handi Resco Building
 521 Kim Mã - Hà Nội
*Email: thang...@gmail.com *
*YM**:** daothang2004*
—

Google Talk: thanghps Skype: thanghps
Contact Me [image: Facebook] [image: Twitter]






On Tue, Sep 29, 2015 at 3:04 PM, Dmitry Baryshnikov 
wrote:

> Hi, Thang,
>
> What is the different between  S57 SDK for .NET and GDAL S57 driver with
> CSharp bindings?
> There is the sources and API?
>
> Best regards,
> Dmitry
>
> 29.09.2015 05:36, Dao Thang пишет:
>
>
> Hi everybody,
>
> I'd like to announce i did the S57 SDK for .NET developer.
>
> Anyone want this please contact me.
>
> Thank you,
> Thang.
>
>
> ___
> gdal-dev mailing 
> listgdal-dev@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>
> ___
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] S57 SDK in .NET developer

2015-09-29 Thread Dao Thang
Hi kusala, currently my SDK is reader for S57 file, not writer. it can read
perfectly a S57 file. Thanks.


—

*Đào Trọng Thắng*
*Mobile:* 0919 262 988
Tầng 11 - Handi Resco Building
 521 Kim Mã - Hà Nội
*Email: thang...@gmail.com *
*YM**:** daothang2004*
—

Google Talk: thanghps Skype: thanghps
Contact Me [image: Facebook] [image: Twitter]






On Tue, Sep 29, 2015 at 6:56 PM, kusala nine  wrote:

> hi, I work for a hydrographic office and S-57 is one of our core formats.
> There's a LOT of information in S-57 and I'm really interested in data
> which has been produced through an open SDK like this. Do you also produce
> updates and deal with the topology aspects of the geometry? I'd be really
> interested to know more and maybe evaluate any tools on this front.
>
> cheers,
>
> Jonathan.
>
> On Tue, Sep 29, 2015 at 9:04 AM, Dmitry Baryshnikov 
> wrote:
>
>> Hi, Thang,
>>
>> What is the different between  S57 SDK for .NET and GDAL S57 driver with
>> CSharp bindings?
>> There is the sources and API?
>>
>> Best regards,
>> Dmitry
>>
>> 29.09.2015 05:36, Dao Thang пишет:
>>
>>
>> Hi everybody,
>>
>> I'd like to announce i did the S57 SDK for .NET developer.
>>
>> Anyone want this please contact me.
>>
>> Thank you,
>> Thang.
>>
>>
>> ___
>> gdal-dev mailing 
>> listgdal-dev@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>>
>>
>> ___
>> gdal-dev mailing list
>> gdal-dev@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
>
> ___
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev