Tag Info

New answers tagged

0

Similar to this question There's a way you can work around dynamic page numbers. First of all, in your page number field make sure all of your pagenumbers are how you want them (ex. Road A only goes up to 5, road B starts at 1) Add dynamic text from the data driven pages toolbar >> Page Text >> Data Driven Page Attribute. Choose the PageNumber attribute. ...


0

You can use Spatial Manager for AutoCAD is an inexpensive product ($ 179), and allows you to import directly from PostGIS to AutoCAD. You can watch this video: http://www.spatialmanager.com/postgis-sql-server-basic-autocad-yes/ In the import process you can associate points with blocks in the drawing (among other options). You can download a trial version ...


0

I know that this is an old question. The question and answers came up when I was searching for a solution to a similar problem. All the examples using raster2pgsql or gdal show single quotes around the database table or especially the column name. The desire is to keep the column name lower cased. Both the table creation and the load of the data was ...


0

You need to use the %Name% inline variable for your output table names


0

Have you seen arcpy.mapping? Many of the things you're looking to accomplish can be done using this module (e.g. turning layers on and off, changing symbology, etc.). Have a look at the functions list. However, the team at ESRI has stressed that they aren't trying to expose everything that's available in ArcObjects, so you may find things that you can't ...


0

Rather obvious mistake... The file format should have been --format=mbtiles which is pretty obvious. I'll leave this question to see if someone upvotes it or I'll delete it later.


3

Another solution would be to use the Copy Raster tool: arcpy.CopyRaster_management(in_raster, out_rasterdataset) Where you add the file extension to out_rasterdataset


1

The Raster to Other Format tool should do what you need. RasterToOtherFormat_conversion (Input_Rasters, Output_Workspace, {Raster_Format})


-1

You can use GeoPapatile plugin then use the "image.tif" output. It is a tif with a tfw file, so it is georeferenced.


2

Open a new dataframe, don't add a basemap, just the shapefile, move your mouse around on the screen and look at the coordinates towards the middle are they small numbers that look like latitude and longitude? Open windows explorer and navigate to your shapefile... look for a *.prj file, if you don't have one, then you are working with data that no ...


2

Once you get the shapefile/projection problem solved: Kriging is a method of interpolating points to create a continuous surface. I think that you actually want to use graduated colors to modify the symbology of the points, manually setting classification breaks at the values you need.


0

Thanks! Ok the function works fine, only a question. I need also to export as geotiff, but argis answer that Runtime error <type 'exceptions.TypeError'>: PageLayoutObject: Error in executing ExportToTIFF I've read in other topic that some options is only available if the export is maked in data frame, not in page layout. In the Data Driven I've set ...


2

This is a common issue, translating between mapinfo rasters to arc/Q can lead to positional errors. Converting using a tab-to-tfw tool will give mixed results but usually the rasters will be about 20-30m off. I would recommend either opening them in Arcmap (arc can read the georeferencing information in the tab file) and saving out a copy from Arcmap, or to ...


1

I am not really sure about what exactly you need to do. Do yours 100 grid polygons snap to pixels of raster? (1 polygon = 1 pixel) And do you need to extract raster values into polygon grid? If it is sufficient for you only to extract raster pixel data and do have it in one table, you can firstly (in ArcGIS): convert raster to points (conversion->From ...


1

If you use geoserver +2.5 to store your wms layers you can use this http://docs.geoserver.org/stable/en/user/extensions/dxf/index.html


0

WMS serves images not vectors. The best option is to contact the source of the service to see if the vectors may be distributed. Then convert them to dwg or dxf. Otherwise, you will have to perform a vectorization as this Q/A suggests, before conversion.


1

I would use a Python snippet to do this via the Python window. The following is adapted from the ESRI help page on data-driven pages: mxd = arcpy.mapping.MapDocument("CURRENT") for page_number in range(1, mxd.dataDrivenPages.pageCount + 1): mxd.dataDrivenPages.currentPageID = page_number print "Exporting page {0} of ...


3

You can export to other formats, however you will have to use python/arcpy module: How to export Data Driven Pages to other formats using ArcMap: You can use a simple arcpy.mapping script to export Data Driven Pages to formats other than PDF. This example shows how to export Data Driven Pages to a series of PNG image files. mxd = ...


2

I would suggest you to use this alternative way to do the same: To export raster as TIFF, find the oid of the raters’ lob(large object) using the query: SELECT oid, lowrite(lo_open(oid, 131072), png) As num_bytes FROM ( VALUES (lo_create(0), ST_Astiff( (SELECT rast FROM raster_table WHERE rid = 1) ) ) ) As v(oid,png); Use the PostgreSQL \lo_export command ...



Top 50 recent answers are included