Tag Info

New answers tagged


I was able to convert the osm file to PBF (Protocolbuffer Binary Format). I used the osmconvert which is a simple command line tool that works well.


The GDAL OSM driver http://www.gdal.org/drv_osm.html which is used by QGIS is read-only. So you are out of luck to create OSM files out of QGIS, either uncompressed or compressed to pbf format. As an alternative, you can use the JOSM editor to load the GIS data using plugins, and export to an OSM file. Don't upload to the server on exiting! PBF files can ...


Supposing that geom is a shapely geometry object, you can use from shapely.geometry import * import json geojson = json.dumps(mapping(geom))


I ran your code snippet in IDLE, and as expected, it first complained about its indentation which I corrected to the following: # export as jpeg outJPEG = os.path.join(outPath, attr + ".jpg") #atrr and outPath are defined in another part of the code arcpy.mapping.ExportToJPEG(mxd, outJPEG, "PAGE_LAYOUT", 200, 200, 300, False, "24-BIT_TRUE_COLOR", 90, ...


I made a test with SQLite / SpatiaLite and for me QGIS does show UPPERCASE or whatever I want to.


Any SQL-compliant spatial database should work, including PostGIS (if you happen to be running a PostGIS server) or SpatiaLite (but note quirks about behavior mentioned below). Either one will satisfy your criteria: Identifiers (including column names) can be up to 63 characters in a default PostGIS installation (and this can be increased by changing the ...

Top 50 recent answers are included