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
6
votes
3answers
8k views

Convert WKT to GeoJSON with Leaflet

I have a point type WKT geometry column in a MySQL table storing the location of some stores. I want to display it on a Leaflet map on my website. I've found plenty of tutorials to doing this on ...
13
votes
3answers
26k views

How to convert data from a .gdb into a shapefile without ArcMap?

I have a .gdb folder with LOCK Files, FREELIST Files, ATX Files, GDBINDEXES Files, GDBTABLE Files, GDBTABLEX Files and, SPX Files. I want to convert the parcel data within this folder into a ...
1
vote
1answer
489 views

PyProj - Transform coordinate in “HK80 grid” to “WGS 84 / UTM zone 49N or 49S”

Am trying to use python pyproj to do the above conversion (convert/transform from Hong Kong GRID to Hong Kong UTM), but am getting different values from the expected result. My expected conversion ...
8
votes
3answers
3k views

Converting latitude, longitude (epsg:4326) into EPSG:3857?

I'm looking to study the math involved to see how a given latitude and longitude in decimal degrees can be converted to EPSG:3857. Can anybody point to a good reference or a possible Ppython/C/C++/...
2
votes
1answer
1k views

Converting XML to polyline shapefile?

I want to convert this XML file to a polyline shapefile. <?xml version="1.0" encoding="utf-8" standalone="yes"?> <ci nc="BMSKDMA10" nl="BMskDMA10" mt="6" ct="DM" dtt="17342" dtu="15/01/2016 ...
1
vote
1answer
30 views

Finding unconnected polylines and connecting them using QGIS?

I have a pipeline network, during manual digitization have a lot pipes unconnect. Is there any way to find pipes unconnect and edit it in QGIS?
6
votes
2answers
4k views

Converting Shapefiles to Mapbox Vector Tiles

We are currently hosting OSM vector tiles on our mapping server (courtesy osm2vectortiles and tilesever-gl). Now I'm trying to convert our own shapefiles into the same Mapbox Vector Tile format so we ...
1
vote
2answers
90 views

Converting large data with lat and long into X and Y?

I have 9888562 records in dataframe and I would like to convert my lat, long to UTM x,y. according to my code, I have used pyproj package but because my data are too much it takes a long time and ...
1
vote
1answer
133 views

ProjNet error in converted coordinates

today I discovered this library, but after trying to convert coordinates from one to other system find out that there is some calculation error. I googled possible solutions for this problem, but ...
3
votes
1answer
259 views

Keep attribute data while converting XML file to shapefile in QGIS?

I want a map of particular area in shapefile format from Google Earth. I created a map using polygon method and save it as KML file format, but when I convert it from ".xml" to "shapefile" format ...
2
votes
1answer
384 views

Using ogr2ogr w/ -s_srs to combine inconsistent EPSG files into PostGIS?

I'm having trouble combining shapefiles from TIGER and different local governments into a single postgis db to query legislative locations. I've imported all data to multipolygon geom, but found some ...
1
vote
0answers
21 views

Java - Conversion from NAD27 to WGS84

I'm in the process of adding automatic CRS conversion to a Spark application and running into some problems with the implementation. Each row in a dataframe that is being converted will contain ...
9
votes
3answers
3k views

How to convert a string field to a date field

I have a layer with points which represent the fatal road accidents and the field "dates_14_D" contains their date but its type is string. I would like to convert this string field to date field but ...
2
votes
0answers
26 views

Copy multiple rasterfiles into geopackage

I have a folder with ~100+ raster images which covers my study area (the data comes in .ecw or .tiff, i have both at hand). How do i get them into one geopackage without having to go the export -> ...
0
votes
1answer
60 views

Converting XY coordinates in the Iberian peninsulate to lat, lon?

I have been looking for a way to convert XY coordinates (from a coordinate system based on ETRS89) to latitude and longitude coordinates. So far I have this function: from pyproj import Proj, ...
1
vote
2answers
73 views

Converting GOES x,y coordinates from a 2D fixed grid into latitude and longitude

I am working with some GOES data in Python and I want to grab latitude/longitude coordinates from the data. GOES' stores their projection data in radians under x,y variables that are used to project ...
2
votes
4answers
153 views

Convert shapefile to KML

I have one big layer which contains many polygons. This layer is a shapefile and I want to convert it to be many layers, each layer containing one polygon, and those polygon layers should be saved as ...
2
votes
1answer
640 views

Keeping the original file name when batch processing GDAL translate?

I would like to convert .tif files to Idrisi or ENVI format. I would like to do a batch process, keeping the original filename. When I choose: "run as a batch process", as I can see, I still have to ...
2
votes
2answers
143 views

Converting multiple CSVs to shapefiles?

I have a script that I've used to import information in a CSV to a shapefile. What I'd like to do is make it so that this script will run on all CSVs in a specific folder location, creating multiple ...
0
votes
0answers
18 views

Converting .ers raster to .shp?

I am trying to convert .ers-raster into shapefile using ERDAS. It keeps saying "input must be thematic". Any solutions to this or any other method by which I can convert .ers raster into shapefile, ...
0
votes
2answers
490 views

Convert CSV GPS Logs to GPX on Android (GPSBabel on Android)

I bought a GPS Logger - a small device that will, while turned on, log the GPS Coordinates to a SD card every second. It has no display and no other UI than 3 buttons and a couple of LEDs. The Device ...
0
votes
1answer
287 views

How to get rectangle with two values in converting polygon to raster?

I have 112 vector polygon shapefiles. I want to convert every single one to raster layer but instead of getting layer with same shape as vector polygon, I want to get rectangle in which cells that ...
0
votes
1answer
789 views

Convert high resolution digital PDFs into a shapefile?

I have to convert several of such formats into a shapefile. Is there any open-source software or quicker ways of doing this? One such file - http://ceodelhi.gov.in/ACMAP/5.pdf Another such file is ...
1
vote
1answer
989 views

Converting MGRS Coordiantes To DD or UTM gives ERROR 999999?

I am trying to convert MGRS coordinates to something that I can add into ArcGIS 10.2 I have a DBF file with MGRS coordinates that look like this: 11UNG37756325 They are in a text field and I am ...
2
votes
1answer
5k views

Converting (geodetic pose + cartesian offset) to geodetic position? [closed]

I am in search of an algorithm to solve the first/direct geodetic problem precisely in 3D. The input is: a geodetic (not geocentric) position (WGS84, height is above the WGS84 reference ellipsoid) ...
2
votes
1answer
38 views

Converting tabular data with multiline string field using FME?

I have data in a table. One of the fields has pairs of coordinates. The coordinate pairs represent a point and the points joined in order to represent a line. The number of coordinate pairs varies. ...
0
votes
0answers
15 views

Loading a georeferenced GIF with an OziExplorer Map Data File into a Garmin GNSS receiver?

I have a map as a Graphics Interchange Format (GIF) file and an associated American Standard Code for Information Interchange (ASCII) file which has a .map extension. The content of the ASCII file ...
2
votes
1answer
611 views

QGIS 3.0.3 python error “/bin/sh: gdal_polygonize.py: command not found”

I have recently downloaded QGIS on my Mac to preform an analysis for my dissertation. I am trying to convert my raster data to polygon data using the gdal_polygonize.py tool provided by QGIS. ...
1
vote
2answers
189 views

Transforming a polygon to a linestring

Is it possible to (trivially, via a tool in python) to convert a polygon to a linestring? if so, how? If not, why?
1
vote
1answer
39 views

Extracting vector information from a .dwg file into a QGIS environment?

I have a few CAD files in the .dwg format and I am trying to extract the data into a QGIS environment. The CAD files have a large number of different layers that represent different types of assets eg....
0
votes
0answers
25 views

When re-saving a GeoJSON file to a shapefile, the .dbf significantly increases in size

When re-saving a GeoJSON file to a shapefile, the .dbf significantly increases in size to the point where the file size becomes unmanageable. For example, I re-saved a 250 MB GeoJSON file to ...
0
votes
0answers
8 views

Raster Transformation from NAVD88 to NGVD29 - is it possible?

Using ArcMap 10.5.1 and I do not see an option to transform vertically a raster FROM NAVD88 to NGVD29. I do see the reverse, but not what I'm looking for. Any ideas?
0
votes
0answers
61 views

Convert WGS 84 Coordinates to Arc 1950 coordinates

How can I convert WGS 84 coordinates to [Arc 1950][35s] coordinates? e.g S12.14127 E25.96643 S12.23535 E25.90588 S12.23535 E25.90588 S12.23859 E25.79461 S12.27073 E25.66638
2
votes
1answer
53 views

Convert WKT to image [closed]

Is there any way to convert WKT like MULTILINESTRING ((48.8744070530328 34.71707055692468, 49.127092599907755 34.72892221300337, 48.89363312725153 34.70987407974113, 48.93002533916562 34....
1
vote
0answers
40 views

Converting from EPSG 25833 to WGS 4326 using QGIS? [duplicate]

I have a layer of Brandenburg (Germany) in EPSG 25833 which I want to tranfrom to EPSG 4326. Similar to this answer to Transforming shapefile to WGS:84 (EPSG: 4326) in QGIS?, I set the CRS to EPSG ...
1
vote
0answers
54 views

Convert SHP to JSON

I need to convert shapefile to JSON in the following data structure.How can I do this? { "field": [ { "latitude": 52.8812385372, "longitude": 6.9287692025 }, { "...
2
votes
2answers
269 views

Rasterizing ungridded XYZ (LiDAR) files? [closed]

I have a large set of ungridded xyz text files (LiDAR point cloud) and want to export them to any raster format (tiff, asc, gridded xyz...) for further GIS processing. The source: https://www....
2
votes
0answers
188 views

How to convert Esri Compact Cache to other format? (mbtiles, et.c.)

I need to convert Esri Compact Cache-files to a "better" (a more open & common) format. Ideally I would like to convert to mbtiles or just 'tiles on disk'. What software can perform this ...
2
votes
2answers
1k views

Convert point to line

I recently completed a long bike trip and used a GPS to gather data during the ride, including average speed and elevation loss/gain. I imported the data into QGIS. These data were gathered per mile, ...
3
votes
5answers
18k views

Opening ArcGIS Desktop layer package (.lpk) file using QGIS on Mac?

I downloaded an LPK file from the ESRI site that contains USPS defined zip codes. Because I'm working with QGIS on a Mac, I converted the file to a .zip. There's a .lyr file that opened up in the zip, ...
0
votes
0answers
23 views

Transform UTM 33 N to ETRS 89 ( epoch 2018.5)

I'm asked to convert coordinates from the WGS 84 UTM 33N system to the ETRS89 with epoch 2018.5. So from a projected to a geographic system. I have no idea how to start with this. I know UTM = ETRS ...
0
votes
1answer
50 views

Converting from Washington State Plane Coordinates to Web Mercator? [closed]

I received coordinate data in Washington State Plane: EPSG:14602. I need to convert this to EPSG: 3857, aka Web Mercator. I'm using Javascript. Here's what I've tried so far: Using OpenLayers: ol....
4
votes
1answer
3k views

How can I export a shapefile to netCDF?

I have a shapefile of the worlds biomes Terrestrial Ecoregional Boundaries Shapefile (TNC), 12/14/09, 50MB download from available from http://conserveonline.org/workspaces/ecoregional.shapefile I ...
3
votes
2answers
28k views

How to calculate Distance, Azimuth and Dip from two XYZ coordinates

I have two XYZ coordinates and I would like to calculate the Distance, Azimuth and Dip between them. I have come across a similar question on this site that calculates it the other way around (with ...
5
votes
4answers
5k views

Creating DSM and DTM from a LAS using a freeware solution

Is it possible to export a surface and terrain model files from an aerial, LiDAR point cloud (LAS) set? I am using SAGA GIS for very basic operations, but I couldn't find this option (and I have a ...
2
votes
2answers
3k views

Extraction of DEM from netCDF file into ASCII XYZ format

I need to extract a DEM of a waterbody from a netCDF file so I can ultimately convert the DEM into xyz format. I'm not sure how to go about doing this, and so far, I have tried to create raster layers ...
6
votes
5answers
6k views

Converting csv to kml/geojson using ogr2ogr or equivalent command line tools? [duplicate]

I've just unsuccessfully tried to use ogr2ogr to convert CSV into KML like so: ogr2ogr -f "KML" output.kml input.csv The csv has "latitude" and "longitude" columns. The attributes are all loaded ...
5
votes
1answer
1k views

Formatting OGR VRT file to convert CSV to KML?

I am attempting to get a nice KML for simple review of POI/geocoding from a CSV. I a using ogr2ogr and a VRT. You can see the VRT file below, with two attempts to get this right. Basically, the issue ...
2
votes
1answer
549 views

proj/pyproj converted coordinates offset

I'm using pyproj to convert some coordinates from WGS84 to OSGB36. When mapped out the converted and unconverted don't map to the same places on a map. The OSGB36 coordinates are mapped about 100 ...
2
votes
2answers
4k views

How to convert a GeoSerie to a GeoDataFrame with Geopandas

I'm new in Geopandas and I try to creat my first script. I succeeded to open a shapefile and maked a union of all entity and an envelope. As it said in Geopandas doc, after these 2 geometric ...