Questions tagged [png]

Use this tag when asking questions related to, Portable Network Graphics (PNG), a bitmapped image format that employs lossless data compression

Filter by
Sorted by
Tagged with
1
vote
0answers
20 views

CentOS 7, Mapnik, and Tilestache: Seems like image assets are ignored by Mapnik's point/pattern symbolizers

[Update 6.6.2019] Ok...new detail. I checked a different Apache error log and discovered that it's littered with these errors, generically corresponding to.. failed to allocate png_ptr Actual ...
2
votes
1answer
23 views

Giving Projection for more than one .png format at same time using ArcGIS Desktop?

I want to give a projection for multiple PNG files at the same time i.e. not one by one. Is there a tool for this or can we give a projection to that folder?
0
votes
1answer
58 views

Use PNG external graphic for vector layer with OpenLayers 5.3

I am currently working on a webmapping project using Mviewer device, linked to OpenLayers 5.3. I am trying to create a new vector layer to locate points, with js. So far, I managed to create a layer ...
0
votes
0answers
19 views

From EE GeoTiff to MS Word PNG/JPG?

I would like to put some images from Earth Engine (EE) in my report. So far I screenshot it and paste PNG on MS Word. I see EE can export images to Google Drive. But its geotiff, I can't just paste ...
0
votes
0answers
17 views

Add PNG as a layer in Mapnik

I'm playing around with Mapnik and trying to add a PNG image over a map created from an XML file. This is my XML file: <Map background-color="white" minimum-version="0.7.2" srs="+init=epsg:3395"&...
0
votes
1answer
256 views

Change Leaflet Marker Icon(.png) color programatically [closed]

I have a list of markers. I am assigning an icon to each marker and creating that icon from a black .png circle. I want to change color of that marker based on input value from user. I have searched ...
1
vote
2answers
129 views

Calculate 16-bit elevation values from a 32-bit RGBA image?

Say a single-band 16-bit (UInt) raster with values representing elevation (meters) must be converted to a 32-bit RGBA PNG image (8-bits/band) for use in a web application. The image dimensions must be ...
-1
votes
2answers
123 views

Exporting image from GEE to Google Cloud Bucket in PNG/JPEG format? [closed]

The below lines of code shows the export of the image to the cloud. I am unable to convert my file to JPEG/PNG. I want my image to be saved in PNG/JPEG in the cloud. Export.image.toCloudStorage({ ...
0
votes
0answers
41 views

Add Geotagged PNG to ArcGIS Map

I have geotagged png chart images I'd like to display on my map. I'm using ArcGis 10.2.1 for Desktop on Win7. I investigated Data Management Tools > Photos > GeoTagged Photos to Points tool in the ...
3
votes
3answers
448 views

ERROR 1: Error : band 1 has no color table

I would like to convert a GeoTIFF to PNG or JPEG RGB, and my GeoTIFF is stripped of a lot of valuable data (I think..) I am on ubuntu and I am using gdal_translate to try and make a GeoTIFF turn into ...
1
vote
1answer
34 views

Saving content of map.div as PNG using widget with ArcGIS Web AppBuilder?

I basically need to take a screen capture of the div WITHOUT all of widgets and panels on top of it. My plan is to export map scenes for eventual use in PowerPoint, so I want a 'what you see is what ...
0
votes
1answer
35 views

ArcGIS file export

Am having issues exporting a Layout Map of an area from ArcGIS to any raster format (JPEG, TIFF and PNG). The map gets partially exported with no errors reported. Exporting to PDF works fine. My ...
0
votes
0answers
247 views

Convert TIFF raster layer to PNG

I have been given some images in TIFF format, and I need to convert them to the PNG format. I have been given that the TIFF file contains 4 bands: R, G, B, and NIR (which I do not need for the PNG). ...
1
vote
1answer
68 views

Alpha-channel PNG from gdaldem

I was hoping that the following command would give me an alpha-channel PNG which was transparent where the DEM has "nodata": gdaldem color-relief -alpha -of png dem.tif palette.dat out.png I get an ...
0
votes
1answer
206 views

Filling polygon with png pattern in OpenLayers?

I want to fill a set of polygons with png pattern. Here is an extract of my code : var canvas = document.createElement('canvas'); var context = canvas.getContext('2d'); var pattern; var imageObj ...
2
votes
0answers
29 views

When exporting, mask behind text becomes garbled (Data Driven Pages)

I am using Data Driven Pages with different rotations for a project. When I export to PDF or PNG, the mask behind the text moves and rotates. It does not seem to rotate in the direction of the data ...
1
vote
0answers
226 views

Export PostGIS geom polygon to PNG

I am trying to build a REST API using Flask and Postgis. I have a PostGIS table with a GEOM column. Querying the table using ST_AsGeoJSON gives me a MULTIPOLYGON with lat, lon in WGS84. [('...
0
votes
1answer
237 views

convert png with alpha channel to GeoTiff

How do I convert a png with an alpha channel to a GeoTIFF using gdal_translate so that the alpha channel gets reflected in the GeoTiff. Currently the GTiff that is produced is resulting in 3 Bands, ...
2
votes
1answer
777 views

Performing gdal translate to png/jpeg?

I tried gdal translate to png: gdal_translate image.bsq image.jpg -of JPEG -outsize 10% 10% -scale and jpeg: gdal_translate image.bsq image.png -of PNG -outsize 10% 10% -scale jpeg looks better ...
0
votes
1answer
184 views

gdal translate -co, which options are available to PNG?

I can create a PNG with: gdal_translate -of PNG -outsize 10% 10% image.bsq image.png I see there is a -co (creation options) parameter I can pass to gdal translate. Where can I find which options ...
1
vote
0answers
93 views

Export raster to 8bit png with transparency

I have various scanned images in different file formats (jpg, tiff, png) and I need to georeference, clip and export those images. As a result I need to have a 8 bit png file with transparacy (the ...
0
votes
0answers
34 views

Pulling Data off PNG map scan using ArcGIS Desktop?

I have scanned a map with several trade routes on it and georeferenced it on top of a hydrology (river system) map of the U.S. The scanned map is a PNG file. How can I pull off the trade routes? ...
0
votes
1answer
319 views

Geoserver SLD style PointSymbolizer ExternalGraphic issue

Any idea why this isn't working? It's taken straight from here: http://geoserver.readthedocs.io/en/latest/_downloads/point_pointasgraphic.sld refernced from this page http://geoserver.readthedocs.io/...
0
votes
1answer
151 views

Calculate elevation from rgb from png created from qgis

I am using qgis to create a raster elevation image (png) from SRTM data. I need to create a png via qgis which I will then query to determine the rgb of particular pixels via php. How do I define a ...
1
vote
0answers
35 views

How to workaround truncation of text description for elements in qgis-modeler 2.18.15?

I am trying to make a QGIS processing workflow through the Graphical Modeler (QGIS 2.18.15). I have completed it, and wish to export it as a *.PNG. However, the elements and algorithms I added to the ...
1
vote
1answer
204 views

Png, prj, pgw same name, but png doesn't show up after loading. What SRC to take?

someone gave me a dataset with the three types of files, but when I load as a raster the png.files it doesn't show up on the maps. They ask me what SRC to take and I don't really know which one to ...
1
vote
1answer
95 views

Map Automation Script For Looping Help

Working on a Python script that I will run inside of ArcGIS 10.5 that will export PNG maps. Each map will be a different state and for every state there will be 5 different physician specialty types, ...
4
votes
2answers
1k views

Converting 4-band TIF to PNG while keeping all 4 bands?

I have a number of aerial photos containing both RGB and a near-infrared band. The images are in TIF-format, however I need to convert them to PNG without losing any of the bands. I have tried ...
1
vote
0answers
225 views

Different image quality for different zoom levels (OpenLayers/GeoServer)?

Original data that raster layers are made of are of a high quality. At a small scale (1:100) this is useful. However at a large scale (1:10 000) it results in ~300KB PNG images which are actually not ...
3
votes
1answer
252 views

What CRS to use for cylindrical raster world map?

I've drawn a cylindrical world map for a fictional planet. Exported it as png and scaled it, so one pixel corresponds to one km at the equator and from north to south pole. I tried several ...
2
votes
1answer
155 views

Save to PNG changes colors

I am trying to save this print composer as PNG When I open the saved file, this is the result The same thing happens if I save to pdf. Any idea what's going on?
2
votes
1answer
69 views

Why does it take longer and longer to export my maps as png in a loop?

And how can I improve my performance? I wrote a simple python script to export a few hundred maps: Open a MXD, add a layer, apply a definition query, apply a symbology, export to PNG. The definition ...
0
votes
1answer
337 views

Mapnik to reuse colors from geotiff when rendering png format

I am trying to make mapnik read this geotiff file and render it as a PNG file. Unfortunately all the colors from the geotiff file are not retained. The resulting PNG is completely blank. This is my ...
1
vote
0answers
31 views

a broken PNG output in mapserver

i want to show my shapefile on the web my template file is: <html> <head><title>Simple Mapserver Template HTML Document</title></head> <body> <img src="[img]" ...
6
votes
3answers
1k views

Serving png image tiles using geoserver

I have managed to : 1) Create layers 2) Applied SLD Styles 3) Group the layers together and able to preview What I have is this(layer preview): I would now want to serve this layer via tiles. ...
0
votes
2answers
746 views

Convert TIF to PNG without normalizing alpha

I'm trying to make some height maps with elevation data from https://earthexplorer.usgs.gov/. Since they give you assets in separate TIF tiles, I need to convert them to PNG and stitch them together ...
2
votes
0answers
917 views

Draw shapefile over PNG image in R

I have a satellite image as a PNG with known coordinates (bottom, left, top, right). I want to draw a shapefile on it (the limits of a county) in R. My first thought was to convert the PNG (it's read ...
2
votes
1answer
28 views

Model creation on ModelBuilder?

I need to create a model. I have a group of regions (A, B, C) each one of those has multiple rasters and some other shapefiles. For every region is needed to calculate the area of every region content ...
1
vote
0answers
288 views

Mapserver blank image just with “wms_format” “image/png” [closed]

I Have a problem with mapserver 7.0.6 (same with 7.0.4). If I use "wms_format""image/jpeg" everything is fine. But if it's "wms_format" "image/png", there's nothing more than a blank image with QGIS. ...
-1
votes
1answer
530 views

Exporting map with transparent background to png or jpg? [duplicate]

Is there any possible way to export a map from Arcmap 10.5 without the white background? I need to insert the map in a dashboard with blue background and i only need the outline of the layer not the ...
1
vote
1answer
2k views

Translating GeoTIFF to 16-bit PNG with GDAL

I have a GeoTIFF file which displays the following information when running gdalinfo: Band 1 Block=10012x1 Type=Float32, ColorInterp=Gray Description = Layer_1 Min=1638.991 Max=2577.040 Minimum=...
1
vote
1answer
403 views

Getting PNG image from geoserver with centered feature

I want get PNG image from geoserver, there will be centered feature. Problem is bounding box. How get i extent one feature from wms layer? I use cql_filter for select one feature. One solution is ...
2
votes
1answer
382 views

QGIS export png with accurate hex color values

I have a 32 bit TIFF raster layer in QGIS with one band of integer values between 49 and 72 with some no data values. I'd like to end up with an 8 bit PNG image with matching pixel values. I don't ...
1
vote
1answer
144 views

Wrong dimensons on .png-file when using gdal_translate

I am using gdal_translate -of PNG -ot UInt16 -scale MIN MAX 0 65535 "source.tiff" "output.png" in the command-prompt to create a .png-file from a .tif-file that I created using the Interpolation-...
2
votes
1answer
1k views

How can I create a 16bit PNG heightmap in QGIS?

I am new to QGIS or any GIS software. I have been using a totalstation to measure a hillside and I am trying to convert the point cloud to a 16bit png heightmap that I can use in Unreal Engine 4. I ...
2
votes
2answers
647 views

Georeferencer QGIS not working?

I am trying to georeference a .png file. After inserting all the data I get the following error "Transform Failed: Failed to compute GCP transform: Transform is not solvable." What can be the ...
2
votes
2answers
466 views

R get_map returns map correctly, but filename argument does not work?

In R library ggmap there is a function get_map which saves a file (or at least have saved files automatically two or three years ago). Now get_map is not saving anymore, although the parameter ...
5
votes
3answers
1k views

Convert ST_Union polygon to PNG file in PostGIS?

I am working with Postgres 9.6, PostGIS 2.3 and GDAL 1.11.5. I would like to output the union of some polygons as a single PNG (or other image) file, with the polygons in black on a white background. (...
1
vote
1answer
111 views

Exporting maps as PNG along a predefined grid

I need to export a series of maps along a predefined grid across a state. I'm trying to automate the process with arcpy. Right now I manually choose to export a TIFF file at 500 dpi resolution, 8-bit ...
-1
votes
2answers
41 views

Exporting maps to PNG and later changing map in ArcMap?

I exported maps to a png file but want to make some changes to the maps. Is there a way to go back to the map you exported so you can edit it in ArcMap? I really don't want to have to go through ...