Re: [Geoserver-users] Geotiff import, nothing but gray
Success! I just ran gdalwarp input.tiff output.tiff then imported the output file. woohoo! Thanks for your help! On Sep 18, 2015 11:18 AM, "Alex O'Ree"wrote: > Any idea what options I need for gdal? > On Sep 18, 2015 11:00 AM, "Andrea Aime" > wrote: > >> On Fri, Sep 18, 2015 at 4:53 PM, Alex O'Ree >> wrote: >> >>> One more update. I was able to get some data to import by cropping the >>> geo tiff. Now the problem is that it's rendering mirrored and inverted >>> (open layers). Any idea? >>> >> Adding to the weirdness of that geotiff, it's not ortorectified >> apparently, but uses ground control points instead. >> Use gdalwarp/gdaltranslate to fix it :-) >> >> Cheers >> Andrea >> >> -- >> == >> GeoServer Professional Services from the experts! Visit >> http://goo.gl/it488V for more information. >> == >> >> Ing. Andrea Aime >> @geowolf >> Technical Lead >> >> GeoSolutions S.A.S. >> Via Poggio alle Viti 1187 >> 55054 Massarosa (LU) >> Italy >> phone: +39 0584 962313 >> fax: +39 0584 1660272 >> mob: +39 339 8844549 >> >> http://www.geo-solutions.it >> http://twitter.com/geosolutions_it >> >> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003* >> >> Le informazioni contenute in questo messaggio di posta elettronica e/o >> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il >> loro utilizzo è consentito esclusivamente al destinatario del messaggio, >> per le finalità indicate nel messaggio stesso. Qualora riceviate questo >> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di >> darcene notizia via e-mail e di procedere alla distruzione del messaggio >> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, >> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od >> utilizzarlo per finalità diverse, costituisce comportamento contrario ai >> principi dettati dal D.Lgs. 196/2003. >> >> >> >> The information in this message and/or attachments, is intended solely >> for the attention and use of the named addressee(s) and may be confidential >> or proprietary in nature or covered by the provisions of privacy act >> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection >> Code).Any use not in accord with its purpose, any disclosure, reproduction, >> copying, distribution, or either dissemination, either whole or partial, is >> strictly forbidden except previous formal approval of the named >> addressee(s). If you are not the intended recipient, please contact >> immediately the sender by telephone, fax or e-mail and delete the >> information in this message that has been received in error. The sender >> does not give any warranty or accept liability as the content, accuracy or >> completeness of sent messages and accepts no responsibility for changes >> made after they were sent or for other risks which arise as a result of >> e-mail transmission, viruses, etc. >> >> --- >> > -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geotiff import, nothing but gray
It is set to raster style. On Sep 17, 2015 7:41 PM, "Alex O'Ree"wrote: > ill give it a shot, first thing tomorrow > > On Thu, Sep 17, 2015 at 7:32 PM, Alex M > wrote: > > Try changing the style classes to better cover the actual data range. > > Often with rasters if you don't stretch min/mix you end up with just > > gray as the few outlying values get assigned white and black (NoData as > > something like - can cause this. > > > > -Alex > > > > On 09/17/2015 04:29 PM, Alex O'Ree wrote: > >> Andrea > >> > >> Thanks for the quick response and sorry for not getting back sooner. > >> > >> Polygon as in a large gray square. I can zoom in and out, just no map. > >> It's all gray. > >> > >> It was imported as the raster layer. > >> > >> Below is the output from gdalinfo > >> > >> > >> C:\Program Files\GDAL>gdalinfo > c:\maps\geoserver-2.7.2\data_dir\alaska.tiff > >> ERROR 1: Can't load requested DLL: C:\Program > >> Files\GDAL\gdalplugins\gdal_MrSID.dll > >> 126: The specified module could not be found. > >> > >> ERROR 1: Can't load requested DLL: C:\Program > >> Files\GDAL\gdalplugins\gdal_MrSID.dll > >> 126: The specified module could not be found. > >> > >> Driver: GTiff/GeoTIFF > >> Files: c:\maps\geoserver-2.7.2\data_dir\alaska.tiff > >> Size is 29184, 18432 > >> Coordinate System is `' > >> GCP Projection = > >> GEOGCS["WGS 84", > >> DATUM["WGS_1984", > >> SPHEROID["WGS 84",6378137,298.257223563, > >> AUTHORITY["EPSG","7030"]], > >> AUTHORITY["EPSG","6326"]], > >> PRIMEM["Greenwich",0], > >> UNIT["degree",0.0174532925199433], > >> AUTHORITY["EPSG","4326"]] > >> GCP[ 0]: Id=1, Info= > >> (0,0) -> (-116.680203045685,34.7986191024166,0) > >> GCP[ 1]: Id=2, Info= > >> (29184,0) -> (-111.472081218274,34.7986191024166,0) > >> GCP[ 2]: Id=3, Info= > >> (0,18432) -> (-116.680203045685,32.313003452244,0) > >> GCP[ 3]: Id=4, Info= > >> (29184,18432) -> (-111.472081218274,32.313003452244,0) > >> Metadata: > >> AREA_OR_POINT=Area > >> TIFFTAG_DATETIME=2015:09:16 17:47:52 > >> > TIFFTAG_IMAGEDESCRIPTION=com.partech.geoio.rpf.BoundaryRectangle@164cf04 > >> TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm) > >> TIFFTAG_SOFTWARE=GV > >> TIFFTAG_XRESOLUTION=1 > >> TIFFTAG_YRESOLUTION=1 > >> Image Structure Metadata: > >> INTERLEAVE=PIXEL > >> Corner Coordinates: > >> Upper Left (0.0,0.0) > >> Lower Left (0.0,18432.0) > >> Upper Right (29184.0,0.0) > >> Lower Right (29184.0,18432.0) > >> Center (14592.0, 9216.0) > >> Band 1 Block=128x128 Type=Byte, ColorInterp=Red > >> Mask Flags: PER_DATASET ALPHA > >> Band 2 Block=128x128 Type=Byte, ColorInterp=Green > >> Mask Flags: PER_DATASET ALPHA > >> Band 3 Block=128x128 Type=Byte, ColorInterp=Blue > >> Mask Flags: PER_DATASET ALPHA > >> Band 4 Block=128x128 Type=Byte, ColorInterp=Alpha > >> > >> > >> On Wed, Sep 16, 2015 at 6:46 PM, Andrea Aime > >> wrote: > >>> On Thu, Sep 17, 2015 at 12:28 AM, Alex O'Ree > wrote: > > After importing a geotiff in a data store (no errors), then going to > preview layer using open layers, I see nothing but a large gray > polygon. Is there anything I can do to help troubleshoot this? I can > view the tiff in graphics editing/viewing problems. It's a 2GB file, > not sure if that's relevant or not. > > >>> > >>> Polygon as in vector polygon? Did you associate the polygon > >>> style instead of the raster one by any chance? > >>> If not, can you run gdalinfo against that file, and provide the > geoserver > >>> version you're using? > >>> > >>> Cheers > >>> Andrea > >>> > >>> -- > >>> == > >>> GeoServer Professional Services from the experts! Visit > >>> http://goo.gl/it488V for more information. > >>> == > >>> > >>> Ing. Andrea Aime > >>> @geowolf > >>> Technical Lead > >>> > >>> GeoSolutions S.A.S. > >>> Via Poggio alle Viti 1187 > >>> 55054 Massarosa (LU) > >>> Italy > >>> phone: +39 0584 962313 > >>> fax: +39 0584 1660272 > >>> mob: +39 339 8844549 > >>> > >>> http://www.geo-solutions.it > >>> http://twitter.com/geosolutions_it > >>> > >>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 > >>> > >>> Le informazioni contenute in questo messaggio di posta elettronica e/o > nel/i > >>> file/s allegato/i sono da considerarsi strettamente riservate. Il loro > >>> utilizzo è consentito esclusivamente al destinatario del messaggio, > per le > >>> finalità indicate nel messaggio stesso. Qualora riceviate questo > messaggio > >>> senza esserne il destinatario, Vi preghiamo cortesemente di darcene > notizia > >>> via e-mail e di procedere alla distruzione del messaggio stesso, > >>> cancellandolo dal Vostro sistema. Conservare il messaggio stesso, > divulgarlo > >>> anche in parte, distribuirlo ad altri soggetti, copiarlo, od > utilizzarlo per > >>> finalità diverse, costituisce comportamento
Re: [Geoserver-users] Geotiff import, nothing but gray
Progress! Looks like the release version did work, but the scale is way off, inverted and upside down. Same behavior with both versions On Sep 18, 2015 10:53 AM, "Alex O'Ree"wrote: > One more update. I was able to get some data to import by cropping the geo > tiff. Now the problem is that it's rendering mirrored and inverted (open > layers). Any idea? > On Sep 18, 2015 10:31 AM, "Alex O'Ree" wrote: > >> can geoserver import nitf file formats? >> On Sep 18, 2015 9:21 AM, "Alex O'Ree" wrote: >> >>> If I go to layer preview, then tiff from the drop down, I do get a image >>> of the map back. It only appears that open layers has an issue >>> On Sep 18, 2015 8:47 AM, "Alex O'Ree" wrote: >>> It is set to raster style. On Sep 17, 2015 7:41 PM, "Alex O'Ree" wrote: > ill give it a shot, first thing tomorrow > > On Thu, Sep 17, 2015 at 7:32 PM, Alex M > wrote: > > Try changing the style classes to better cover the actual data range. > > Often with rasters if you don't stretch min/mix you end up with just > > gray as the few outlying values get assigned white and black (NoData > as > > something like - can cause this. > > > > -Alex > > > > On 09/17/2015 04:29 PM, Alex O'Ree wrote: > >> Andrea > >> > >> Thanks for the quick response and sorry for not getting back sooner. > >> > >> Polygon as in a large gray square. I can zoom in and out, just no > map. > >> It's all gray. > >> > >> It was imported as the raster layer. > >> > >> Below is the output from gdalinfo > >> > >> > >> C:\Program Files\GDAL>gdalinfo > c:\maps\geoserver-2.7.2\data_dir\alaska.tiff > >> ERROR 1: Can't load requested DLL: C:\Program > >> Files\GDAL\gdalplugins\gdal_MrSID.dll > >> 126: The specified module could not be found. > >> > >> ERROR 1: Can't load requested DLL: C:\Program > >> Files\GDAL\gdalplugins\gdal_MrSID.dll > >> 126: The specified module could not be found. > >> > >> Driver: GTiff/GeoTIFF > >> Files: c:\maps\geoserver-2.7.2\data_dir\alaska.tiff > >> Size is 29184, 18432 > >> Coordinate System is `' > >> GCP Projection = > >> GEOGCS["WGS 84", > >> DATUM["WGS_1984", > >> SPHEROID["WGS 84",6378137,298.257223563, > >> AUTHORITY["EPSG","7030"]], > >> AUTHORITY["EPSG","6326"]], > >> PRIMEM["Greenwich",0], > >> UNIT["degree",0.0174532925199433], > >> AUTHORITY["EPSG","4326"]] > >> GCP[ 0]: Id=1, Info= > >> (0,0) -> (-116.680203045685,34.7986191024166,0) > >> GCP[ 1]: Id=2, Info= > >> (29184,0) -> (-111.472081218274,34.7986191024166,0) > >> GCP[ 2]: Id=3, Info= > >> (0,18432) -> (-116.680203045685,32.313003452244,0) > >> GCP[ 3]: Id=4, Info= > >> (29184,18432) -> (-111.472081218274,32.313003452244,0) > >> Metadata: > >> AREA_OR_POINT=Area > >> TIFFTAG_DATETIME=2015:09:16 17:47:52 > >> > TIFFTAG_IMAGEDESCRIPTION=com.partech.geoio.rpf.BoundaryRectangle@164cf04 > >> TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm) > >> TIFFTAG_SOFTWARE=GV > >> TIFFTAG_XRESOLUTION=1 > >> TIFFTAG_YRESOLUTION=1 > >> Image Structure Metadata: > >> INTERLEAVE=PIXEL > >> Corner Coordinates: > >> Upper Left (0.0,0.0) > >> Lower Left (0.0,18432.0) > >> Upper Right (29184.0,0.0) > >> Lower Right (29184.0,18432.0) > >> Center (14592.0, 9216.0) > >> Band 1 Block=128x128 Type=Byte, ColorInterp=Red > >> Mask Flags: PER_DATASET ALPHA > >> Band 2 Block=128x128 Type=Byte, ColorInterp=Green > >> Mask Flags: PER_DATASET ALPHA > >> Band 3 Block=128x128 Type=Byte, ColorInterp=Blue > >> Mask Flags: PER_DATASET ALPHA > >> Band 4 Block=128x128 Type=Byte, ColorInterp=Alpha > >> > >> > >> On Wed, Sep 16, 2015 at 6:46 PM, Andrea Aime > >> wrote: > >>> On Thu, Sep 17, 2015 at 12:28 AM, Alex O'Ree < > spyhunte...@gmail.com> wrote: > > After importing a geotiff in a data store (no errors), then going > to > preview layer using open layers, I see nothing but a large gray > polygon. Is there anything I can do to help troubleshoot this? I > can > view the tiff in graphics editing/viewing problems. It's a 2GB > file, > not sure if that's relevant or not. > > >>> > >>> Polygon as in vector polygon? Did you associate the polygon > >>> style instead of the raster one by any chance? > >>> If not, can you run gdalinfo against that file, and provide the > geoserver > >>> version you're using? > >>> > >>> Cheers > >>> Andrea
Re: [Geoserver-users] Geotiff import, nothing but gray
can geoserver import nitf file formats? On Sep 18, 2015 9:21 AM, "Alex O'Ree"wrote: > If I go to layer preview, then tiff from the drop down, I do get a image > of the map back. It only appears that open layers has an issue > On Sep 18, 2015 8:47 AM, "Alex O'Ree" wrote: > >> It is set to raster style. >> On Sep 17, 2015 7:41 PM, "Alex O'Ree" wrote: >> >>> ill give it a shot, first thing tomorrow >>> >>> On Thu, Sep 17, 2015 at 7:32 PM, Alex M >>> wrote: >>> > Try changing the style classes to better cover the actual data range. >>> > Often with rasters if you don't stretch min/mix you end up with just >>> > gray as the few outlying values get assigned white and black (NoData as >>> > something like - can cause this. >>> > >>> > -Alex >>> > >>> > On 09/17/2015 04:29 PM, Alex O'Ree wrote: >>> >> Andrea >>> >> >>> >> Thanks for the quick response and sorry for not getting back sooner. >>> >> >>> >> Polygon as in a large gray square. I can zoom in and out, just no map. >>> >> It's all gray. >>> >> >>> >> It was imported as the raster layer. >>> >> >>> >> Below is the output from gdalinfo >>> >> >>> >> >>> >> C:\Program Files\GDAL>gdalinfo >>> c:\maps\geoserver-2.7.2\data_dir\alaska.tiff >>> >> ERROR 1: Can't load requested DLL: C:\Program >>> >> Files\GDAL\gdalplugins\gdal_MrSID.dll >>> >> 126: The specified module could not be found. >>> >> >>> >> ERROR 1: Can't load requested DLL: C:\Program >>> >> Files\GDAL\gdalplugins\gdal_MrSID.dll >>> >> 126: The specified module could not be found. >>> >> >>> >> Driver: GTiff/GeoTIFF >>> >> Files: c:\maps\geoserver-2.7.2\data_dir\alaska.tiff >>> >> Size is 29184, 18432 >>> >> Coordinate System is `' >>> >> GCP Projection = >>> >> GEOGCS["WGS 84", >>> >> DATUM["WGS_1984", >>> >> SPHEROID["WGS 84",6378137,298.257223563, >>> >> AUTHORITY["EPSG","7030"]], >>> >> AUTHORITY["EPSG","6326"]], >>> >> PRIMEM["Greenwich",0], >>> >> UNIT["degree",0.0174532925199433], >>> >> AUTHORITY["EPSG","4326"]] >>> >> GCP[ 0]: Id=1, Info= >>> >> (0,0) -> (-116.680203045685,34.7986191024166,0) >>> >> GCP[ 1]: Id=2, Info= >>> >> (29184,0) -> (-111.472081218274,34.7986191024166,0) >>> >> GCP[ 2]: Id=3, Info= >>> >> (0,18432) -> (-116.680203045685,32.313003452244,0) >>> >> GCP[ 3]: Id=4, Info= >>> >> (29184,18432) -> (-111.472081218274,32.313003452244,0) >>> >> Metadata: >>> >> AREA_OR_POINT=Area >>> >> TIFFTAG_DATETIME=2015:09:16 17:47:52 >>> >> >>> TIFFTAG_IMAGEDESCRIPTION=com.partech.geoio.rpf.BoundaryRectangle@164cf04 >>> >> TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm) >>> >> TIFFTAG_SOFTWARE=GV >>> >> TIFFTAG_XRESOLUTION=1 >>> >> TIFFTAG_YRESOLUTION=1 >>> >> Image Structure Metadata: >>> >> INTERLEAVE=PIXEL >>> >> Corner Coordinates: >>> >> Upper Left (0.0,0.0) >>> >> Lower Left (0.0,18432.0) >>> >> Upper Right (29184.0,0.0) >>> >> Lower Right (29184.0,18432.0) >>> >> Center (14592.0, 9216.0) >>> >> Band 1 Block=128x128 Type=Byte, ColorInterp=Red >>> >> Mask Flags: PER_DATASET ALPHA >>> >> Band 2 Block=128x128 Type=Byte, ColorInterp=Green >>> >> Mask Flags: PER_DATASET ALPHA >>> >> Band 3 Block=128x128 Type=Byte, ColorInterp=Blue >>> >> Mask Flags: PER_DATASET ALPHA >>> >> Band 4 Block=128x128 Type=Byte, ColorInterp=Alpha >>> >> >>> >> >>> >> On Wed, Sep 16, 2015 at 6:46 PM, Andrea Aime >>> >> wrote: >>> >>> On Thu, Sep 17, 2015 at 12:28 AM, Alex O'Ree >>> wrote: >>> >>> After importing a geotiff in a data store (no errors), then going to >>> preview layer using open layers, I see nothing but a large gray >>> polygon. Is there anything I can do to help troubleshoot this? I can >>> view the tiff in graphics editing/viewing problems. It's a 2GB file, >>> not sure if that's relevant or not. >>> >>> >>> >>> >>> Polygon as in vector polygon? Did you associate the polygon >>> >>> style instead of the raster one by any chance? >>> >>> If not, can you run gdalinfo against that file, and provide the >>> geoserver >>> >>> version you're using? >>> >>> >>> >>> Cheers >>> >>> Andrea >>> >>> >>> >>> -- >>> >>> == >>> >>> GeoServer Professional Services from the experts! Visit >>> >>> http://goo.gl/it488V for more information. >>> >>> == >>> >>> >>> >>> Ing. Andrea Aime >>> >>> @geowolf >>> >>> Technical Lead >>> >>> >>> >>> GeoSolutions S.A.S. >>> >>> Via Poggio alle Viti 1187 >>> >>> 55054 Massarosa (LU) >>> >>> Italy >>> >>> phone: +39 0584 962313 >>> >>> fax: +39 0584 1660272 >>> >>> mob: +39 339 8844549 >>> >>> >>> >>> http://www.geo-solutions.it >>> >>> http://twitter.com/geosolutions_it >>> >>> >>> >>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 >>> >>> >>> >>> Le informazioni contenute in questo messaggio di posta elettronica >>> e/o nel/i >>> >>> file/s allegato/i sono da
Re: [Geoserver-users] Geotiff import, nothing but gray
On Fri, Sep 18, 2015 at 4:53 PM, Alex O'Reewrote: > One more update. I was able to get some data to import by cropping the geo > tiff. Now the problem is that it's rendering mirrored and inverted (open > layers). Any idea? > Adding to the weirdness of that geotiff, it's not ortorectified apparently, but uses ground control points instead. Use gdalwarp/gdaltranslate to fix it :-) Cheers Andrea -- == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003* Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc. --- -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geotiff import, nothing but gray
On Fri, Sep 18, 2015 at 3:21 PM, Alex O'Reewrote: > If I go to layer preview, then tiff from the drop down, I do get a image > of the map back. It only appears that open layers has an issue > Waaait a second, I think I see it now, that geotiff has per overview inner raster masks. Those are supported only in GeoServer > 2.8.0, which are are about to release, you should give 2.8-RC1 a try Cheers Andrea -- == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003* Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc. --- -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geotiff import, nothing but gray
One more update. I was able to get some data to import by cropping the geo tiff. Now the problem is that it's rendering mirrored and inverted (open layers). Any idea? On Sep 18, 2015 10:31 AM, "Alex O'Ree"wrote: > can geoserver import nitf file formats? > On Sep 18, 2015 9:21 AM, "Alex O'Ree" wrote: > >> If I go to layer preview, then tiff from the drop down, I do get a image >> of the map back. It only appears that open layers has an issue >> On Sep 18, 2015 8:47 AM, "Alex O'Ree" wrote: >> >>> It is set to raster style. >>> On Sep 17, 2015 7:41 PM, "Alex O'Ree" wrote: >>> ill give it a shot, first thing tomorrow On Thu, Sep 17, 2015 at 7:32 PM, Alex M wrote: > Try changing the style classes to better cover the actual data range. > Often with rasters if you don't stretch min/mix you end up with just > gray as the few outlying values get assigned white and black (NoData as > something like - can cause this. > > -Alex > > On 09/17/2015 04:29 PM, Alex O'Ree wrote: >> Andrea >> >> Thanks for the quick response and sorry for not getting back sooner. >> >> Polygon as in a large gray square. I can zoom in and out, just no map. >> It's all gray. >> >> It was imported as the raster layer. >> >> Below is the output from gdalinfo >> >> >> C:\Program Files\GDAL>gdalinfo c:\maps\geoserver-2.7.2\data_dir\alaska.tiff >> ERROR 1: Can't load requested DLL: C:\Program >> Files\GDAL\gdalplugins\gdal_MrSID.dll >> 126: The specified module could not be found. >> >> ERROR 1: Can't load requested DLL: C:\Program >> Files\GDAL\gdalplugins\gdal_MrSID.dll >> 126: The specified module could not be found. >> >> Driver: GTiff/GeoTIFF >> Files: c:\maps\geoserver-2.7.2\data_dir\alaska.tiff >> Size is 29184, 18432 >> Coordinate System is `' >> GCP Projection = >> GEOGCS["WGS 84", >> DATUM["WGS_1984", >> SPHEROID["WGS 84",6378137,298.257223563, >> AUTHORITY["EPSG","7030"]], >> AUTHORITY["EPSG","6326"]], >> PRIMEM["Greenwich",0], >> UNIT["degree",0.0174532925199433], >> AUTHORITY["EPSG","4326"]] >> GCP[ 0]: Id=1, Info= >> (0,0) -> (-116.680203045685,34.7986191024166,0) >> GCP[ 1]: Id=2, Info= >> (29184,0) -> (-111.472081218274,34.7986191024166,0) >> GCP[ 2]: Id=3, Info= >> (0,18432) -> (-116.680203045685,32.313003452244,0) >> GCP[ 3]: Id=4, Info= >> (29184,18432) -> (-111.472081218274,32.313003452244,0) >> Metadata: >> AREA_OR_POINT=Area >> TIFFTAG_DATETIME=2015:09:16 17:47:52 >> TIFFTAG_IMAGEDESCRIPTION=com.partech.geoio.rpf.BoundaryRectangle@164cf04 >> TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm) >> TIFFTAG_SOFTWARE=GV >> TIFFTAG_XRESOLUTION=1 >> TIFFTAG_YRESOLUTION=1 >> Image Structure Metadata: >> INTERLEAVE=PIXEL >> Corner Coordinates: >> Upper Left (0.0,0.0) >> Lower Left (0.0,18432.0) >> Upper Right (29184.0,0.0) >> Lower Right (29184.0,18432.0) >> Center (14592.0, 9216.0) >> Band 1 Block=128x128 Type=Byte, ColorInterp=Red >> Mask Flags: PER_DATASET ALPHA >> Band 2 Block=128x128 Type=Byte, ColorInterp=Green >> Mask Flags: PER_DATASET ALPHA >> Band 3 Block=128x128 Type=Byte, ColorInterp=Blue >> Mask Flags: PER_DATASET ALPHA >> Band 4 Block=128x128 Type=Byte, ColorInterp=Alpha >> >> >> On Wed, Sep 16, 2015 at 6:46 PM, Andrea Aime >> wrote: >>> On Thu, Sep 17, 2015 at 12:28 AM, Alex O'Ree wrote: After importing a geotiff in a data store (no errors), then going to preview layer using open layers, I see nothing but a large gray polygon. Is there anything I can do to help troubleshoot this? I can view the tiff in graphics editing/viewing problems. It's a 2GB file, not sure if that's relevant or not. >>> >>> Polygon as in vector polygon? Did you associate the polygon >>> style instead of the raster one by any chance? >>> If not, can you run gdalinfo against that file, and provide the geoserver >>> version you're using? >>> >>> Cheers >>> Andrea >>> >>> -- >>> == >>> GeoServer Professional Services from the experts! Visit >>> http://goo.gl/it488V for more information. >>> == >>> >>> Ing. Andrea Aime >>> @geowolf >>> Technical Lead >>> >>> GeoSolutions S.A.S. >>> Via Poggio alle Viti 1187 >>> 55054
Re: [Geoserver-users] Geotiff import, nothing but gray
If I go to layer preview, then tiff from the drop down, I do get a image of the map back. It only appears that open layers has an issue On Sep 18, 2015 8:47 AM, "Alex O'Ree"wrote: > It is set to raster style. > On Sep 17, 2015 7:41 PM, "Alex O'Ree" wrote: > >> ill give it a shot, first thing tomorrow >> >> On Thu, Sep 17, 2015 at 7:32 PM, Alex M >> wrote: >> > Try changing the style classes to better cover the actual data range. >> > Often with rasters if you don't stretch min/mix you end up with just >> > gray as the few outlying values get assigned white and black (NoData as >> > something like - can cause this. >> > >> > -Alex >> > >> > On 09/17/2015 04:29 PM, Alex O'Ree wrote: >> >> Andrea >> >> >> >> Thanks for the quick response and sorry for not getting back sooner. >> >> >> >> Polygon as in a large gray square. I can zoom in and out, just no map. >> >> It's all gray. >> >> >> >> It was imported as the raster layer. >> >> >> >> Below is the output from gdalinfo >> >> >> >> >> >> C:\Program Files\GDAL>gdalinfo >> c:\maps\geoserver-2.7.2\data_dir\alaska.tiff >> >> ERROR 1: Can't load requested DLL: C:\Program >> >> Files\GDAL\gdalplugins\gdal_MrSID.dll >> >> 126: The specified module could not be found. >> >> >> >> ERROR 1: Can't load requested DLL: C:\Program >> >> Files\GDAL\gdalplugins\gdal_MrSID.dll >> >> 126: The specified module could not be found. >> >> >> >> Driver: GTiff/GeoTIFF >> >> Files: c:\maps\geoserver-2.7.2\data_dir\alaska.tiff >> >> Size is 29184, 18432 >> >> Coordinate System is `' >> >> GCP Projection = >> >> GEOGCS["WGS 84", >> >> DATUM["WGS_1984", >> >> SPHEROID["WGS 84",6378137,298.257223563, >> >> AUTHORITY["EPSG","7030"]], >> >> AUTHORITY["EPSG","6326"]], >> >> PRIMEM["Greenwich",0], >> >> UNIT["degree",0.0174532925199433], >> >> AUTHORITY["EPSG","4326"]] >> >> GCP[ 0]: Id=1, Info= >> >> (0,0) -> (-116.680203045685,34.7986191024166,0) >> >> GCP[ 1]: Id=2, Info= >> >> (29184,0) -> (-111.472081218274,34.7986191024166,0) >> >> GCP[ 2]: Id=3, Info= >> >> (0,18432) -> (-116.680203045685,32.313003452244,0) >> >> GCP[ 3]: Id=4, Info= >> >> (29184,18432) -> (-111.472081218274,32.313003452244,0) >> >> Metadata: >> >> AREA_OR_POINT=Area >> >> TIFFTAG_DATETIME=2015:09:16 17:47:52 >> >> >> TIFFTAG_IMAGEDESCRIPTION=com.partech.geoio.rpf.BoundaryRectangle@164cf04 >> >> TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm) >> >> TIFFTAG_SOFTWARE=GV >> >> TIFFTAG_XRESOLUTION=1 >> >> TIFFTAG_YRESOLUTION=1 >> >> Image Structure Metadata: >> >> INTERLEAVE=PIXEL >> >> Corner Coordinates: >> >> Upper Left (0.0,0.0) >> >> Lower Left (0.0,18432.0) >> >> Upper Right (29184.0,0.0) >> >> Lower Right (29184.0,18432.0) >> >> Center (14592.0, 9216.0) >> >> Band 1 Block=128x128 Type=Byte, ColorInterp=Red >> >> Mask Flags: PER_DATASET ALPHA >> >> Band 2 Block=128x128 Type=Byte, ColorInterp=Green >> >> Mask Flags: PER_DATASET ALPHA >> >> Band 3 Block=128x128 Type=Byte, ColorInterp=Blue >> >> Mask Flags: PER_DATASET ALPHA >> >> Band 4 Block=128x128 Type=Byte, ColorInterp=Alpha >> >> >> >> >> >> On Wed, Sep 16, 2015 at 6:46 PM, Andrea Aime >> >> wrote: >> >>> On Thu, Sep 17, 2015 at 12:28 AM, Alex O'Ree >> wrote: >> >> After importing a geotiff in a data store (no errors), then going to >> preview layer using open layers, I see nothing but a large gray >> polygon. Is there anything I can do to help troubleshoot this? I can >> view the tiff in graphics editing/viewing problems. It's a 2GB file, >> not sure if that's relevant or not. >> >> >>> >> >>> Polygon as in vector polygon? Did you associate the polygon >> >>> style instead of the raster one by any chance? >> >>> If not, can you run gdalinfo against that file, and provide the >> geoserver >> >>> version you're using? >> >>> >> >>> Cheers >> >>> Andrea >> >>> >> >>> -- >> >>> == >> >>> GeoServer Professional Services from the experts! Visit >> >>> http://goo.gl/it488V for more information. >> >>> == >> >>> >> >>> Ing. Andrea Aime >> >>> @geowolf >> >>> Technical Lead >> >>> >> >>> GeoSolutions S.A.S. >> >>> Via Poggio alle Viti 1187 >> >>> 55054 Massarosa (LU) >> >>> Italy >> >>> phone: +39 0584 962313 >> >>> fax: +39 0584 1660272 >> >>> mob: +39 339 8844549 >> >>> >> >>> http://www.geo-solutions.it >> >>> http://twitter.com/geosolutions_it >> >>> >> >>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 >> >>> >> >>> Le informazioni contenute in questo messaggio di posta elettronica >> e/o nel/i >> >>> file/s allegato/i sono da considerarsi strettamente riservate. Il loro >> >>> utilizzo è consentito esclusivamente al destinatario del messaggio, >> per le >> >>> finalità indicate nel messaggio stesso. Qualora riceviate questo >> messaggio >> >>> senza esserne il destinatario,
Re: [Geoserver-users] Geotiff import, nothing but gray
Any idea what options I need for gdal? On Sep 18, 2015 11:00 AM, "Andrea Aime"wrote: > On Fri, Sep 18, 2015 at 4:53 PM, Alex O'Ree wrote: > >> One more update. I was able to get some data to import by cropping the >> geo tiff. Now the problem is that it's rendering mirrored and inverted >> (open layers). Any idea? >> > Adding to the weirdness of that geotiff, it's not ortorectified > apparently, but uses ground control points instead. > Use gdalwarp/gdaltranslate to fix it :-) > > Cheers > Andrea > > -- > == > GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. > == > > Ing. Andrea Aime > @geowolf > Technical Lead > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 339 8844549 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003* > > Le informazioni contenute in questo messaggio di posta elettronica e/o > nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il > loro utilizzo è consentito esclusivamente al destinatario del messaggio, > per le finalità indicate nel messaggio stesso. Qualora riceviate questo > messaggio senza esserne il destinatario, Vi preghiamo cortesemente di > darcene notizia via e-mail e di procedere alla distruzione del messaggio > stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, > divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od > utilizzarlo per finalità diverse, costituisce comportamento contrario ai > principi dettati dal D.Lgs. 196/2003. > > > > The information in this message and/or attachments, is intended solely for > the attention and use of the named addressee(s) and may be confidential or > proprietary in nature or covered by the provisions of privacy act > (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection > Code).Any use not in accord with its purpose, any disclosure, reproduction, > copying, distribution, or either dissemination, either whole or partial, is > strictly forbidden except previous formal approval of the named > addressee(s). If you are not the intended recipient, please contact > immediately the sender by telephone, fax or e-mail and delete the > information in this message that has been received in error. The sender > does not give any warranty or accept liability as the content, accuracy or > completeness of sent messages and accepts no responsibility for changes > made after they were sent or for other risks which arise as a result of > e-mail transmission, viruses, etc. > > --- > -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geotiff import, nothing but gray
On Fri, Sep 18, 2015 at 1:29 AM, Alex O'Reewrote: > Andrea > > Thanks for the quick response and sorry for not getting back sooner. > > Polygon as in a large gray square. I can zoom in and out, just no map. > It's all gray. > > It was imported as the raster layer. > > Switch to the publishing tab in the layer editor, and check the default style: is it raster, or polygon? :-) Cheers Andrea -- == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003* Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc. --- -- Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geotiff import, nothing but gray
Try changing the style classes to better cover the actual data range. Often with rasters if you don't stretch min/mix you end up with just gray as the few outlying values get assigned white and black (NoData as something like - can cause this. -Alex On 09/17/2015 04:29 PM, Alex O'Ree wrote: > Andrea > > Thanks for the quick response and sorry for not getting back sooner. > > Polygon as in a large gray square. I can zoom in and out, just no map. > It's all gray. > > It was imported as the raster layer. > > Below is the output from gdalinfo > > > C:\Program Files\GDAL>gdalinfo c:\maps\geoserver-2.7.2\data_dir\alaska.tiff > ERROR 1: Can't load requested DLL: C:\Program > Files\GDAL\gdalplugins\gdal_MrSID.dll > 126: The specified module could not be found. > > ERROR 1: Can't load requested DLL: C:\Program > Files\GDAL\gdalplugins\gdal_MrSID.dll > 126: The specified module could not be found. > > Driver: GTiff/GeoTIFF > Files: c:\maps\geoserver-2.7.2\data_dir\alaska.tiff > Size is 29184, 18432 > Coordinate System is `' > GCP Projection = > GEOGCS["WGS 84", > DATUM["WGS_1984", > SPHEROID["WGS 84",6378137,298.257223563, > AUTHORITY["EPSG","7030"]], > AUTHORITY["EPSG","6326"]], > PRIMEM["Greenwich",0], > UNIT["degree",0.0174532925199433], > AUTHORITY["EPSG","4326"]] > GCP[ 0]: Id=1, Info= > (0,0) -> (-116.680203045685,34.7986191024166,0) > GCP[ 1]: Id=2, Info= > (29184,0) -> (-111.472081218274,34.7986191024166,0) > GCP[ 2]: Id=3, Info= > (0,18432) -> (-116.680203045685,32.313003452244,0) > GCP[ 3]: Id=4, Info= > (29184,18432) -> (-111.472081218274,32.313003452244,0) > Metadata: > AREA_OR_POINT=Area > TIFFTAG_DATETIME=2015:09:16 17:47:52 > TIFFTAG_IMAGEDESCRIPTION=com.partech.geoio.rpf.BoundaryRectangle@164cf04 > TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm) > TIFFTAG_SOFTWARE=GV > TIFFTAG_XRESOLUTION=1 > TIFFTAG_YRESOLUTION=1 > Image Structure Metadata: > INTERLEAVE=PIXEL > Corner Coordinates: > Upper Left (0.0,0.0) > Lower Left (0.0,18432.0) > Upper Right (29184.0,0.0) > Lower Right (29184.0,18432.0) > Center (14592.0, 9216.0) > Band 1 Block=128x128 Type=Byte, ColorInterp=Red > Mask Flags: PER_DATASET ALPHA > Band 2 Block=128x128 Type=Byte, ColorInterp=Green > Mask Flags: PER_DATASET ALPHA > Band 3 Block=128x128 Type=Byte, ColorInterp=Blue > Mask Flags: PER_DATASET ALPHA > Band 4 Block=128x128 Type=Byte, ColorInterp=Alpha > > > On Wed, Sep 16, 2015 at 6:46 PM, Andrea Aime >wrote: >> On Thu, Sep 17, 2015 at 12:28 AM, Alex O'Ree wrote: >>> >>> After importing a geotiff in a data store (no errors), then going to >>> preview layer using open layers, I see nothing but a large gray >>> polygon. Is there anything I can do to help troubleshoot this? I can >>> view the tiff in graphics editing/viewing problems. It's a 2GB file, >>> not sure if that's relevant or not. >>> >> >> Polygon as in vector polygon? Did you associate the polygon >> style instead of the raster one by any chance? >> If not, can you run gdalinfo against that file, and provide the geoserver >> version you're using? >> >> Cheers >> Andrea >> >> -- >> == >> GeoServer Professional Services from the experts! Visit >> http://goo.gl/it488V for more information. >> == >> >> Ing. Andrea Aime >> @geowolf >> Technical Lead >> >> GeoSolutions S.A.S. >> Via Poggio alle Viti 1187 >> 55054 Massarosa (LU) >> Italy >> phone: +39 0584 962313 >> fax: +39 0584 1660272 >> mob: +39 339 8844549 >> >> http://www.geo-solutions.it >> http://twitter.com/geosolutions_it >> >> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 >> >> Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i >> file/s allegato/i sono da considerarsi strettamente riservate. Il loro >> utilizzo è consentito esclusivamente al destinatario del messaggio, per le >> finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio >> senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia >> via e-mail e di procedere alla distruzione del messaggio stesso, >> cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo >> anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per >> finalità diverse, costituisce comportamento contrario ai principi dettati >> dal D.Lgs. 196/2003. >> >> >> >> The information in this message and/or attachments, is intended solely for >> the attention and use of the named addressee(s) and may be confidential or >> proprietary in nature or covered by the provisions of privacy act >> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection >> Code).Any use not in accord with its purpose, any disclosure, reproduction, >> copying, distribution, or either dissemination, either whole or partial, is >> strictly forbidden except previous formal approval of the named >> addressee(s). If you are not
Re: [Geoserver-users] Geotiff import, nothing but gray
ill give it a shot, first thing tomorrow On Thu, Sep 17, 2015 at 7:32 PM, Alex Mwrote: > Try changing the style classes to better cover the actual data range. > Often with rasters if you don't stretch min/mix you end up with just > gray as the few outlying values get assigned white and black (NoData as > something like - can cause this. > > -Alex > > On 09/17/2015 04:29 PM, Alex O'Ree wrote: >> Andrea >> >> Thanks for the quick response and sorry for not getting back sooner. >> >> Polygon as in a large gray square. I can zoom in and out, just no map. >> It's all gray. >> >> It was imported as the raster layer. >> >> Below is the output from gdalinfo >> >> >> C:\Program Files\GDAL>gdalinfo c:\maps\geoserver-2.7.2\data_dir\alaska.tiff >> ERROR 1: Can't load requested DLL: C:\Program >> Files\GDAL\gdalplugins\gdal_MrSID.dll >> 126: The specified module could not be found. >> >> ERROR 1: Can't load requested DLL: C:\Program >> Files\GDAL\gdalplugins\gdal_MrSID.dll >> 126: The specified module could not be found. >> >> Driver: GTiff/GeoTIFF >> Files: c:\maps\geoserver-2.7.2\data_dir\alaska.tiff >> Size is 29184, 18432 >> Coordinate System is `' >> GCP Projection = >> GEOGCS["WGS 84", >> DATUM["WGS_1984", >> SPHEROID["WGS 84",6378137,298.257223563, >> AUTHORITY["EPSG","7030"]], >> AUTHORITY["EPSG","6326"]], >> PRIMEM["Greenwich",0], >> UNIT["degree",0.0174532925199433], >> AUTHORITY["EPSG","4326"]] >> GCP[ 0]: Id=1, Info= >> (0,0) -> (-116.680203045685,34.7986191024166,0) >> GCP[ 1]: Id=2, Info= >> (29184,0) -> (-111.472081218274,34.7986191024166,0) >> GCP[ 2]: Id=3, Info= >> (0,18432) -> (-116.680203045685,32.313003452244,0) >> GCP[ 3]: Id=4, Info= >> (29184,18432) -> (-111.472081218274,32.313003452244,0) >> Metadata: >> AREA_OR_POINT=Area >> TIFFTAG_DATETIME=2015:09:16 17:47:52 >> TIFFTAG_IMAGEDESCRIPTION=com.partech.geoio.rpf.BoundaryRectangle@164cf04 >> TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm) >> TIFFTAG_SOFTWARE=GV >> TIFFTAG_XRESOLUTION=1 >> TIFFTAG_YRESOLUTION=1 >> Image Structure Metadata: >> INTERLEAVE=PIXEL >> Corner Coordinates: >> Upper Left (0.0,0.0) >> Lower Left (0.0,18432.0) >> Upper Right (29184.0,0.0) >> Lower Right (29184.0,18432.0) >> Center (14592.0, 9216.0) >> Band 1 Block=128x128 Type=Byte, ColorInterp=Red >> Mask Flags: PER_DATASET ALPHA >> Band 2 Block=128x128 Type=Byte, ColorInterp=Green >> Mask Flags: PER_DATASET ALPHA >> Band 3 Block=128x128 Type=Byte, ColorInterp=Blue >> Mask Flags: PER_DATASET ALPHA >> Band 4 Block=128x128 Type=Byte, ColorInterp=Alpha >> >> >> On Wed, Sep 16, 2015 at 6:46 PM, Andrea Aime >> wrote: >>> On Thu, Sep 17, 2015 at 12:28 AM, Alex O'Ree wrote: After importing a geotiff in a data store (no errors), then going to preview layer using open layers, I see nothing but a large gray polygon. Is there anything I can do to help troubleshoot this? I can view the tiff in graphics editing/viewing problems. It's a 2GB file, not sure if that's relevant or not. >>> >>> Polygon as in vector polygon? Did you associate the polygon >>> style instead of the raster one by any chance? >>> If not, can you run gdalinfo against that file, and provide the geoserver >>> version you're using? >>> >>> Cheers >>> Andrea >>> >>> -- >>> == >>> GeoServer Professional Services from the experts! Visit >>> http://goo.gl/it488V for more information. >>> == >>> >>> Ing. Andrea Aime >>> @geowolf >>> Technical Lead >>> >>> GeoSolutions S.A.S. >>> Via Poggio alle Viti 1187 >>> 55054 Massarosa (LU) >>> Italy >>> phone: +39 0584 962313 >>> fax: +39 0584 1660272 >>> mob: +39 339 8844549 >>> >>> http://www.geo-solutions.it >>> http://twitter.com/geosolutions_it >>> >>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 >>> >>> Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i >>> file/s allegato/i sono da considerarsi strettamente riservate. Il loro >>> utilizzo è consentito esclusivamente al destinatario del messaggio, per le >>> finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio >>> senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia >>> via e-mail e di procedere alla distruzione del messaggio stesso, >>> cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo >>> anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per >>> finalità diverse, costituisce comportamento contrario ai principi dettati >>> dal D.Lgs. 196/2003. >>> >>> >>> >>> The information in this message and/or attachments, is intended solely for >>> the attention and use of the named addressee(s) and may be confidential or >>> proprietary in nature or covered by the provisions of privacy act >>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection >>>
Re: [Geoserver-users] Geotiff import, nothing but gray
Andrea Thanks for the quick response and sorry for not getting back sooner. Polygon as in a large gray square. I can zoom in and out, just no map. It's all gray. It was imported as the raster layer. Below is the output from gdalinfo C:\Program Files\GDAL>gdalinfo c:\maps\geoserver-2.7.2\data_dir\alaska.tiff ERROR 1: Can't load requested DLL: C:\Program Files\GDAL\gdalplugins\gdal_MrSID.dll 126: The specified module could not be found. ERROR 1: Can't load requested DLL: C:\Program Files\GDAL\gdalplugins\gdal_MrSID.dll 126: The specified module could not be found. Driver: GTiff/GeoTIFF Files: c:\maps\geoserver-2.7.2\data_dir\alaska.tiff Size is 29184, 18432 Coordinate System is `' GCP Projection = GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.257223563, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich",0], UNIT["degree",0.0174532925199433], AUTHORITY["EPSG","4326"]] GCP[ 0]: Id=1, Info= (0,0) -> (-116.680203045685,34.7986191024166,0) GCP[ 1]: Id=2, Info= (29184,0) -> (-111.472081218274,34.7986191024166,0) GCP[ 2]: Id=3, Info= (0,18432) -> (-116.680203045685,32.313003452244,0) GCP[ 3]: Id=4, Info= (29184,18432) -> (-111.472081218274,32.313003452244,0) Metadata: AREA_OR_POINT=Area TIFFTAG_DATETIME=2015:09:16 17:47:52 TIFFTAG_IMAGEDESCRIPTION=com.partech.geoio.rpf.BoundaryRectangle@164cf04 TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm) TIFFTAG_SOFTWARE=GV TIFFTAG_XRESOLUTION=1 TIFFTAG_YRESOLUTION=1 Image Structure Metadata: INTERLEAVE=PIXEL Corner Coordinates: Upper Left (0.0,0.0) Lower Left (0.0,18432.0) Upper Right (29184.0,0.0) Lower Right (29184.0,18432.0) Center (14592.0, 9216.0) Band 1 Block=128x128 Type=Byte, ColorInterp=Red Mask Flags: PER_DATASET ALPHA Band 2 Block=128x128 Type=Byte, ColorInterp=Green Mask Flags: PER_DATASET ALPHA Band 3 Block=128x128 Type=Byte, ColorInterp=Blue Mask Flags: PER_DATASET ALPHA Band 4 Block=128x128 Type=Byte, ColorInterp=Alpha On Wed, Sep 16, 2015 at 6:46 PM, Andrea Aimewrote: > On Thu, Sep 17, 2015 at 12:28 AM, Alex O'Ree wrote: >> >> After importing a geotiff in a data store (no errors), then going to >> preview layer using open layers, I see nothing but a large gray >> polygon. Is there anything I can do to help troubleshoot this? I can >> view the tiff in graphics editing/viewing problems. It's a 2GB file, >> not sure if that's relevant or not. >> > > Polygon as in vector polygon? Did you associate the polygon > style instead of the raster one by any chance? > If not, can you run gdalinfo against that file, and provide the geoserver > version you're using? > > Cheers > Andrea > > -- > == > GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. > == > > Ing. Andrea Aime > @geowolf > Technical Lead > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 339 8844549 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 > > Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i > file/s allegato/i sono da considerarsi strettamente riservate. Il loro > utilizzo è consentito esclusivamente al destinatario del messaggio, per le > finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio > senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia > via e-mail e di procedere alla distruzione del messaggio stesso, > cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo > anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per > finalità diverse, costituisce comportamento contrario ai principi dettati > dal D.Lgs. 196/2003. > > > > The information in this message and/or attachments, is intended solely for > the attention and use of the named addressee(s) and may be confidential or > proprietary in nature or covered by the provisions of privacy act > (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection > Code).Any use not in accord with its purpose, any disclosure, reproduction, > copying, distribution, or either dissemination, either whole or partial, is > strictly forbidden except previous formal approval of the named > addressee(s). If you are not the intended recipient, please contact > immediately the sender by telephone, fax or e-mail and delete the > information in this message that has been received in error. The sender does > not give any warranty or accept liability as the content, accuracy or > completeness of sent messages and accepts no responsibility for changes > made after they were sent or for other risks which arise as a result of > e-mail transmission, viruses, etc. > > >
Re: [Geoserver-users] Geotiff import, nothing but gray
On Thu, Sep 17, 2015 at 12:28 AM, Alex O'Reewrote: > After importing a geotiff in a data store (no errors), then going to > preview layer using open layers, I see nothing but a large gray > polygon. Is there anything I can do to help troubleshoot this? I can > view the tiff in graphics editing/viewing problems. It's a 2GB file, > not sure if that's relevant or not. > > Polygon as in vector polygon? Did you associate the polygon style instead of the raster one by any chance? If not, can you run gdalinfo against that file, and provide the geoserver version you're using? Cheers Andrea -- == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003* Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc. --- -- Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users