Tag Info

Hot answers tagged

3

The most robust way to do this, is to use GDAL's ogr2ogr functionality. Since you know your datatypes, you can specify them in VRT file. The documentation has this to say about setting field types: Field (optional, from GDAL 1.7.0): One or more attribute fields may be defined with Field elements. If no Field elements are defined, the fields of the ...


2

If you use geojson.io, it will not mess up the property data types. Import the csv file into there, then export it out as geojson.


2

You need to make a list of the jpeg's and the n loop trough them. You can use the glob module for that: import arcpy, os , glob outworkspace = r"C:\Project\out\OtherFormat" listOfJPG = glob.glob( r"C:\Project\out\*.jpg") arcpy.RasterToOtherFormat_conversion(listOfJPG , outworkspace ,"TIFF") print 'converted'


2

If you want to read the (proprietary) ECW format, you'll have to use the proprietary libraries. Using GDAL to convert them will only work if you have the proprietary ECW libraries installed and configured in GDAL. There are other applications that read ECW (e.g. Global Mapper), but I believe they all use the proprietary libraries, and most of them are also ...


2

GPS Visualizer will pass your time stamps to gpx format. Using the online tools will preserve your timestamp in the .csv file. Convert a GPS file to plain text or GPX This form reads a tracklog or waypoint file (in a recognized format) or plain-text tabular data, and converts it to an easy-to-read tab-delimited or CSV text file, or to a GPX ...


1

This code snippet is C# and using an array called vertex to hold [x, y] double smRadius = 6378136.98; double smRange = smRadius * Math.PI * 2.0; double smLonToX = smRange / 360.0; double smRadiansOverDegrees = Math.PI / 180.0; ... // compute x-map-unit vertex[0] *= smLonToX; double y = vertex[1]; // compute y-map-unit if (y > 86.0) { vertex[1] = ...


1

Well, I just came with the answer! Searching for PyQGIS codes I found this guy who came with the formula below: 360 - (radians / pi) * 180 It worked perfectly!


1

1st. You will likely have to go province by province, as provinces usually manage spatial data like that and may have to pay for it. For Saskatchewan you might find what you're looking for here or here. 2nd. You will need to then convert the data to kml and upload it to fusion tables. 3rd. Query out what you want to display in fusion tables and then show ...


1

Taking CSV data (test.csv) from Devdatta Tengshe's answer: Latitude,Longitude,Name, Ht 48.1,0.25,"First point", 3 49.2,1.1,"Second point", 56 47.5,0.75,"Third point", 67 In QGIS you need a *.csvt file (test.csvt) for considering data types. In this case: Real, Real, String, Integer At the next imagen it can be observed that the csv layer 'type ...


1

http://ogre.adc4gis.com/ Supports CSV and a number of other extensions.


1

Try the Copy Raster tool. It's converted things to GRID for me in the past quite reliably. http://resources.arcgis.com/en/help/main/10.1/index.html#//001700000094000000


1

I think you might use Add Join as mentioned above. Yet I belive that Join Field will be of a better use. It simple works as Add join, but adds flexibility to the process, enabling to add only some fields, or all of them. Otherwise, "regular join" will join all fields, which can make quite a mess with big datasets. To elaborate on the "conversion" to ...



Only top voted, non community-wiki answers of a minimum length are eligible