Questions tagged [convert]

"Convert" usually tags questions where a change of physical file format or of coordinate representation is needed.

Filter by
Sorted by
Tagged with
2
votes
0answers
19 views

Converting SVG files to GeoJSON

I am struggling with converting SVG files (with geographic coordinate metadata) into a GeoJSON file. I have been trying the svg2geojson command line util and online conversion tool MyGeodata Cloud. ...
1
vote
1answer
29 views

DWG to GeoJSON in QGIS 3.18

I am Using QGIS 3.18 or 3.10. I have imported a DWG file with many layers and many type of features (hatch, point, polyline). I want to converts them to GeojSON format. Is there a way to export all ...
0
votes
0answers
48 views

Convert shapefile to DWG with FME keeping all the attributes from shapefile

I have a shapefile that I want to convert to a DWG file. I want to be able to see all the information (of attribute table) shapefile to the layer properties on AutoCAD. I have tried many things but ...
1
vote
1answer
48 views

Convert xy Cartesian field in CSV file to shapefile with latitude and longitude field

I am trying to convert the CSV file that I have for a shapefile. The CSV file contains a Cartesian xy coordinate field that I wanted to convert to xy longitude and latitude field in the shapefile. I ...
0
votes
1answer
14 views

Remove overlaps and no data areas from GeoTIFF display in Global Mapper

I have two GeoTIFF files that are in UTM projection. I am opening them in Global Mapper v17 and they are displaying like this: My issue is that the "black" areas (which I presume are areas ...
1
vote
1answer
31 views

Convert shapefile to SVG while keeping attributes

Is there a way to export shapefile to SVG while keeping attributes? I tried the mapshaper and QGIS' Mapprinter plugin but with no result, I get the geometry only but I need attributes. I want when I ...
0
votes
0answers
9 views

Language Translation: map outputs to XLIFF or similar for the purpose of translation

A series of maps that i'll be producing with English text and labels will need to be sent to a certified translator. I'll be exporting the maps from GIS as PDF format. When the output PDFs were sent ...
1
vote
1answer
29 views

Converting a drawn map into vector tiles [closed]

I am looking into how to turn a fantasy map into vector tiles so it can imported into something like Mapbox but I'm getting drowned in information and I can't find the start point in the process, what ...
1
vote
1answer
32 views

ArcGIS layer to KML Python script gives TypeError: can only concatenate tuple (not “str”) to tuple

I have some shapefiles to convert into KML file with a specific legend icon. So I tried to rearrange symbology and convert those shapefiles into .lyr files. After that, I put those files into a folder ...
1
vote
1answer
40 views

Warning: skipping unsupported geometry type 'Compound Curve' when using v.transform

I am trying to transform data in QGIS from a DXF file. I keep getting the error: Warning: skipping unsupported geometry type. Compound Curve when I do a v.transform. Eventually, I want to store the ...
6
votes
2answers
71 views

Saving two shapefiles into one GeoJSON

I have 2 shapefiles in QGIS (one point layer and one Line layer as shown in Figure). I am trying to save these two layers in one GeoJSON. I have seen some of the previous answers such as answer [1] , ...
1
vote
1answer
54 views

Convert Esri file gdb to PostGIS

I am trying to convert Esri file gdb to PostGIS I created a new database : 'newkelibia' with pgAdmin 4 using OSGeo4W shell I executed this : ogr2ogr, -f "PostgreSQL" PG:"host=...
8
votes
1answer
123 views

Opening old QGIS model in current QGIS versions

There is an older answer by @underdark to this post: Finding centrelines from polygons in QGIS? She links a QGIS model that apparently was created in QGIS 2.12. It has the file extension .model When I ...
3
votes
1answer
81 views

Data conversion between Shapefile and Geopackage: does it affect accuracy of data?

I use Shapefile as interchange format and Geopackage as the format to to processing. So I convert file format at least twice between Shapefile and Geopackage. Does/can this somehow affect the data ...
1
vote
1answer
49 views

Conversion of coordinates into degrees, minutes and seconds to decimal degrees

Within the framework of manual marker input (Adding GeoJSON properties when creating marker in Leaflet), I would like to propose the conversion of coordinates in degrees, minutes, and seconds to ...
0
votes
1answer
33 views

Creating a dynamic KML using a websites API with Python

I'm trying to create a KML that will dynamically update using an API call in python based off where the user is currently looking. I've tried to include as much commented work as possible for what I'...
2
votes
1answer
39 views

Converting shapefile to WKT file

I have one country layer in a shapefile consisting of a lot of attributes, but the result needs to be in WKT file/format. I'm using QGIS 3.12 . I'd tried GetWKT Plugin but it limited to one selected ...
1
vote
0answers
27 views

Converting linestring of the imported DXF to a closed polygon

Is there a way to convert linestring of the imported DXF file to a closed polygon? I am using QGIS 3.10.
0
votes
1answer
31 views

Rasterizing shapefile with attribute value as pixel value labels with GDAL in Python

I am new to GDAL and geom shapefiles. I have a 3-band .img file (with other associated files) as raster images. And also a shapefile which includes 10000+ features (multi-polygons), the properties of ...
0
votes
1answer
36 views

Convert st_make_grid object to shapefile

I've created the following grid: my_grid_geom = st_make_grid(CLC18, cellsize = 0.4) my_grid = st_sf(geom = my_grid_geom) plot(my_grid) I would like to convert this grid now into a shapefile for ...
0
votes
0answers
17 views

Convert Mapsforge (v3) rendertheme to Mapbox style?

Is it possible to convert a Mapsforge (v3, but also works in v5; both versions are included in c:geo for example) rendertheme (XML file plus patterns and symbols) to something usable as style in ...
3
votes
3answers
338 views

Converting x,y coordinates (EPSG:102002) to latitude,longitude (EPSG:4326) [duplicate]

I have ranges of x and y coordinates in EPSG:102002 GRS 80 that I need to convert into EPSG:4326 WGS 84. I have tried different suggestions here and here but nothing has worked so far. I find myself ...
3
votes
2answers
134 views

Convert from Alt/Az coordinates w.r.t. point on surface to (x,y,z) w.r.t Earth centre?

I know how an antenna located on Earth surface is pointing to an object in space, by means of Altitude and Azimuth. I would like to show the pointed object in the 3d view, so, as far as I can ...
8
votes
1answer
463 views

Why does the same UTM northing give different values when converted to latitude?

I'm converting two coordinates from UTM to latitude/longitude. The coordinates are: Easting: 657787 Northing: 7795664 and Easting: 658144 Northing: 7795664 Both from zone 23S (EPSG:31998) or 23K (...
1
vote
0answers
23 views

GDAL tools creating artefacts [closed]

I am running the following line in a bash script: gdal_translate -of JP2KAK ${2}.vrt ${2}.jp2 to convert a virtual mosaic created with gdalbuildvrt to a JP2 file of the same name. The command produces ...
1
vote
1answer
77 views

How to format coordinates as preparation for transformation to WGS1984 in ArcMap 10.8?

I have a pointshape with a lot of points, containing X and Y values projected in krasovsky_1940_albers. I want to transform the projection to WGS1984 and tried to use the Tool "Convert Coordinate ...
3
votes
1answer
88 views

Converting grayscale VRT to palleted VRT using GDAL tools

I have this virtual file called virtual-raster.vrt with the following gdalinfo of: Band 1 Block=1x1 Type=Float32, ColorInterp=Gray I just want to convert it into a palleted one like so: Band 1 Block=...
2
votes
1answer
101 views

Converting a component of a shapefile into a GeoTIFF file in R

I'm trying to obtain a GeoTIFF map of the WWF biomes, using their shapefile download: https://www.worldwildlife.org/publications/terrestrial-ecoregions-of-the-world The purpose of this is to ...
2
votes
1answer
130 views

Converting DataFrame with geometry column into GeoDataFrame in Pandas

I have this DataFrame: In [120]: a Out[120]: a b c 0 111 333 [POINT (0 0)] 1 222 444 [POINT (0 0)] I am trying to convert with the next line, but it fails: In [125]: b = ...
0
votes
0answers
19 views

Can I extract multiple bands/subdatasets from the HDF file into a TIFF file?

I have some HDF5 files with the following structure: (I've removed all the metadata output) > gdalinfo MOD09GA.A2020278.h29v05.006.2020280062342.hdf Driver: HDF4/Hierarchical Data Format Release 4 ...
0
votes
0answers
47 views

Converting points with Easting and Northing to polygons of GB OS Grid references?

Is there a tool or procedure on ArcMap 10.8 (similar to the Tom.bio plugin in QGIS) that allows the conversion of points with easting, northing and grid reference info into polygons of GB OS Grid ...
0
votes
1answer
41 views

Multiplying z values in linestringz shapefile with a constant [closed]

I have National Levee Data (NLD) shapefile for the entire US in a linestringZ format. The unit of Z values in the shapefile is in feet, but I need it in meters. So, I want to multiply all z values ...
1
vote
1answer
67 views

Converting Raster to Polygon in ArcMap

I've prepared my Shapefile in ArcMap 10.7.1 by Raster to Polygon. When I am opening this shapefile in ArcMap its showing a rectangular polygon around the shapefile like this: When I select this ...
1
vote
1answer
42 views

Setting the charset with GeoTools in Java

I have a well-made geojson file. Of course it is well made with shapefiles. I want to set the charset when creating the shapefile. Below is part of the code. File outFile = new File("D:\\geojson....
0
votes
0answers
27 views

Simple way to convert GeoJSON from MultiPolygon into Polygon [duplicate]

I need a GeoJSON file that simply has the coordinates of the polygons for the boundaries of the provinces of Canada. I have a GeoJSON file but it has multipolygons and my software does not support ...
1
vote
0answers
31 views

Date format conversion brings an unexpected empty space between the date parts

I always used the formula (below) in Python Calculator to convert the date format from Julian to Gregorian format. But,now a weird behaviour is happening and I am trying to figure out what is wrong in ...
0
votes
0answers
84 views

Formula to convert QND95 to EPSG:4326

I have coordinates in QND95 (Qatar National Grid) and I need to convert it to WGS84, specifically EPSG:4326. There are already many tools available for this, but the problem is I want to use the ...
2
votes
0answers
301 views

How to convert GeoJSON points to H3 hexagons in Python

I am trying to take a geojson file of points and convert it to H3 hexagons in my Python script. In JavaScript, there is a separate package called geojson2h3, but the Python h3 module has a method ...
1
vote
1answer
352 views

Trying to convert NetCDF file to shapefile in QGIS

I have a NetCDF file containing surface sea temperatures that I want to convert into a ESRI shapefile. I have tried following this link: https://freegistutorial.com/how-to-export-layer-to-shapefile-on-...
1
vote
2answers
490 views

Convert EPSG:4326 to EPSG:3857 in OpenLayers and React [closed]

Is there a way to convert coordinates from EPSG:4326 to EPSG:3857 in OpenLayers. Or does any one have a method that does this in Javascript?
0
votes
1answer
90 views

How to batch convert state plane coordinates to lat long with multiple SPC Zones?

I'm somewhat of a GIS novice and am trying to see if this is possible to save me some time with further investigating. I have about 300 records in a CSV file with the fields SPC Zone, ECOORD, NCOORD, ...
2
votes
1answer
66 views

What is wrong with my convert coordinate code in Python?

I'm going to convert coordinates in a gml file. Inside the file says <gml:Envelope srsName="urn:ogc:def:crs:EPSG::3347" srsDimension="2"> so I think the coordinate system is ...
0
votes
1answer
113 views

Need a simple python program to convert EPSG/SRID 102002 (LCC) to WGS84

I'm going to convert some coordinates from Canada LCC (EPSG/SRID 102002) into WGS84 (EPSG/SRID 4326). I found a python package for this purpose which is pyproj. However, seems it doesn't support ...
0
votes
0answers
10 views

Convert Terrain Data to .3arc Format

I have received a request to convert some terrain data to .3arc format. Anybody heard about this format? I did a quick search online but couldn't find anything. Thanks in advance.
2
votes
1answer
1k views

Converting GRIB to CSV or to binary data

The challenge is to extract multidimensional data (weather and ocean data in this case) from .grib files, without having to download and install any new software on the computer by running ...
0
votes
1answer
112 views

Converting the shapefile of google drive to geometry of GEE in Colab

I uploaded district's shapefile into google drive, and then read it from google drive using the below method: import geopandas as gpd shapefile = gpd.read_file("shapefile.shp") But I want ...
3
votes
2answers
344 views

Getting lat/long for centroids using QGIS

I have a series of polygons (lakes) in Kansas, Oklahoma and a few in Texas. I created centroids of each lake, which I need for distance measurements. These centroids have derived lat/long information ...
0
votes
0answers
36 views

How to get 1980 census block shapefile from 1992 Tiger/Line files

I am trying to generate a shapefile of 1980 census blocks using the 1992 Tiger/Line files. I am able to open the files directly using QGIS, and I can create shapefiles using the GDAL TIGER driver ...
1
vote
1answer
99 views

Latitude and longitude values conversion

I received a backup file and the latitude and longitude in this backup are very big, for example, Latitude: -106994676, Longitude: 488026770. I have not idea how to convert them into regular latitude/...
0
votes
1answer
49 views

Converting lat long coordinates to shapefile x y values

I'm trying to figure out where a given latitude, longitude coordinate should appear on a particular shape file. The shape file was generated by the US government and I doubt it has any peculiar ...

1
2 3 4 5
25