Tag Info

New answers tagged

2

You could use GDAL which supports Oracle Spatial: http://www.gdal.org/drv_oci.html


3

Try this Frida: Create a folder to store your Shapefiles there (e.g., I've created the folder /tmp/data/, I use GNU/Linux). In QGIS, open the QGIS Python console. Write the following line, editing the right hand side to match the full path to your folder (make sure you include the trailing slash/backslash): myDir = '/tmp/data/' Press Enter. Copy the ...


1

The following approach works for me to save static maps to png files from a webpage with an embedded OpenLayers2 map (I see no reason why it should not work with OpenLayers3 though). The following code is based on the example given at http://acuriousanimal.com/blog/tag/phantomjs/. I slightly modified it to integrate the code given by user cjoudrey on ...


0

To me (Illustrator 16.0.0) i select as below If you are with Ai Version <=5 then you can try the plugin


0

I have looked into this before...and although I do not know how to export JSON in the exact web map spec that you referenced, you can come close using the Item Data operation of the REST API which can exports Web Map data. This might have the information that you require (or not). As I mentioned, the JSON object returned using this operation is not the ...


1

This is not directly available through the API. The PrintTask can be used to get the Web_Map_as_JSON. map.on("load", function(){ require(["esri/tasks/PrintTask", "dojo/_base/json"], function(PrintTask, JSON){ var printTask = new PrintTask(); var Web_Map_as_JSON = JSON.toJson(printTask._getPrintDefinition(map)); }); });


1

Are you using GeoServer as a backend? You could construct a GetMap request via JavaScript and use a HTML GET request to get that image. I use this same approach to programmatically embed static maps into reports in Ms-Access. EDIT: I use PostgreSQL to store my data, and GeoServer handles the rendering and serving of that data. To embed static maps in ...


0

Colours to be used with layers can be stored in qml or sld files. Since you are doing it programmatically, you can create the qml file and the QGIS project file as well by VBA. They are simply text-only XML files.


0

The way that I would do this is to use the SearchCursor to create a Python dictionary from your look up table before starting to iterate through the layers. That way, as you iterate each layer you just have to look up the relevant text in the dictionary using its key. I suspect that doing that your code will be shorter and easier to read. You should be ...


1

In fact, If i got you you mean visual enhancement. There are several way to enhance an image visually. I would suggest a simple one- band combination. **Change the RGB order to get better visuals **Export as Tiff(Use Save As in File Menu) as below N.B. This may done Chipping too both are same. Tiff is better comparing other format. The main thing is RGB ...


2

Often the file type for the export will be set incorrectly for the output location. For example, if you are exporting from a geodatabase, the export type is set to 'Feature Class' and you are trying to export to a generic folder outside of a database, you will get an error (because you can't create a feature class without being inside a database). Click on ...


1

Have you try to first save selected data and later export the data as a shp? W/ the right button on the shp> select> save selected, it will create a "virtual" shp w/ your data, next pick your data and save it as you are doing right now. i hope this solve your problem (i dont have now a arcGIS so not sure of the route is 100% exact but the steps yes)


1

If exporting to the same folder, alter the file name to something like "new_governaret_export". Or, create a new folder for exports and you can keep the same filename.


0

I got what I need and I want to sum up two possible solutions: First one was the link posted by @Vince in the upper comments: How to convert geometry to WKT using ArcPy? It uses Python in connection with arcpy. Thx for the find Vince. Another solution, using python only is script called shapefile.py. It can be found here: https://code.google.com/p/pyshp/ A ...


1

Seems to be easy, you just need to create the XY coordinate field in your polygone table and later in the script use the arcpy.da.SearchCursor(Poligone.shp,"FieldXY")in something similar to this. Hope this works for you ^^ with arcpy.da.SearchCursor("Poligone.shp",'Field') as Buscador: with open(nombarch2,"a+")as c: for row in Buscador: ...


3

You can get the Umweltzone using the following Settings in Quick OSM. Note that you can simply search for the name: Afterwards, you can use Save as ... to save to a Shapefile (or just copy the temporary Shapefile Quick OSM creates).


1

If your goal is to extract features from osm database and save them to shapefiles, then I would suggest using Qgis with the quickOSM plugin. With QuickOSM you can easilly query the Openstreepmaps database (it uses turbo overpass) and add the result to Qgis canvas while saving it to a shapefile.


2

Well, here it is: (How to) Create and transfer cross-Section Data from QGIS to Hec-RAS A. In QGIS RUN the following SAGA GIS modules: Cross Profiles (Using a DEM and the stream reach as the axis "Cross_prof.shp" will be created and imported into the layers (data frame) Note: clear the "Cross_prof.shp" file from profiles that intersect each other Profiles ...


1

Have you tried looking at the Developer console? Using the QGIS "Export to Openlayers 3 Plugin", I get a an error saying "Uncaught TypeError: Cannot read property 'oe' of undefined" in ol.js, which I do not know how to fix. An additional problem may be that the style variable is differently named in the layer_style file of the styles folder. To fix this, ...



Top 50 recent answers are included