2
votes
1answer
279 views

PostGIS ST_Contains query returns null

I have a shapefile of all US States that I've imported into a table with a multipolygon geometry column. (SRID 4326) I perform a spatial query based on lat/lon to return the state abbreviation. This ...
1
vote
3answers
602 views

Mouse hover with CartoDB?

Some of the CartoDB maps online, like Illustreets react constantly to mouse hover instead of requiring a click. Is there a way that I can do that with my CartoDB maps?
2
votes
2answers
1k views

How to programmatically change raster symbology after reclassification?

I have created a code in Python that I will use for a custom tool in ArcGIS, the code will create a Eucledian Distance of 6000m around a point and Reclassify the distance from 0-2000, 2000-4000, 4000-...
2
votes
2answers
547 views

How to find the second highest value in a rasterStack in R

I have a rasterStack of rasters representing count data. I want to return a single raster whose values are the index of the raster with the second highest value for each cell. (I used which.max for ...
4
votes
1answer
667 views

How do I manually classify graduated data in QGIS?

Is there any way to manually classify Graduated Data in Qgis. In ArcGIS I always used to apply first the natural breaks method to find adequate group sizes for good visual interpretation. Afterwards I ...
6
votes
2answers
877 views

Can a folder connection in ArcMap Catalog window be added using Python?

I have created a set of general scripting tools for map automation, etc. In one of my tools a geodatabase is created in the workspace folder the script points to. Just out of curiosity, is there any ...
5
votes
2answers
1k views

How to remove all selection from all registered layers using QGIS plugin?

I want to remove all selection from registered layer in QGIS using Python. I tried to clear the map canvas using: self.iface.mapCanvas().clear() self.iface.mapCanvas().refresh() but the ...
0
votes
1answer
453 views

Convert from Gauss-Kruger to Bing coordinates / projection

I am trying to convert a shapefile with ogr2ogr from Gauss-Kruger (zone 4) to Bings coordinate system / projection using the advice given in http://alastaira.wordpress.com/2011/01/23/the-google-maps-...
-1
votes
2answers
984 views

Export MXDs files to PDFs using Python [closed]

I'm trying to write a python script that will export multiple MXDs to individual PDFs while using a feature class field to rename the pdfs (this can be an optional field, if not check it can copy the ...
3
votes
1answer
321 views

Creating a polyline from point data that represents multiple linear features in ArcGIS 10.0

I have a problem where I have to somewhow create a polyline feature class in ArcGIS 10.0 from points that were collected in the field using a Trimble GeoXT that represent the start and end of multiple ...
1
vote
1answer
346 views

How to cut multiple neighboring raster images

I'm looking for a way to cut a larger number of neighboring aerial raster images (each sized 1x1 km, resolution 10 cm per pxel) into four smaller raster images (size 500 x 500 m). I haven't done this ...
-1
votes
1answer
112 views

How do I debug a GP Service in ArcServer?

I have a geoprocessing service that was successfully published to our ArcServer instance. I'm using 10.1 which means we could not publish unless it actually worked run as a tool in ArcMap. But now ...
1
vote
0answers
80 views

Geoserver-WMS-problem when zooming point layer

I need help. I would like to have no blank(white) space between points when zooming in WMS geoserver. Any idea? Greetings, Andrew
3
votes
1answer
844 views

How can I delete a shapefile using OGR?

In my QGIS Python plugin, I use shapefile layers and I am having a problem rewriting existing shapefiles. Is it possible to delete a shapefile from disk using OGR?
1
vote
0answers
120 views

Qgis raster interpolation shift

Using Qgis 2.0.1, I'm attempting to interpolate a large point dataset (n > 400K) to a raster surface. I'm using the IDW option in Raster>> Interpolation>> Interpolation, and the resulting ...
0
votes
2answers
745 views

ArcGIS maps center to country

Is it possible to set center and zoom/fit bounds to country by name with ArcGIS Javascript API? I mean, with Google Maps you can do something like this: http://stackoverflow.com/a/6086437/1745228 How ...
1
vote
1answer
605 views

get data from WFS and present in using d3js - correct projection

I'm trying to get data for map of Poland. I found WFS service that provides GML files. It is located under: http://sdi.geoportal.gov.pl/wfs_prg/wfservice.aspx?request=getCapabilities&service=wfs I'...
2
votes
1answer
260 views

Axis of rendered shape files not showing numbers that are latitude and longitude

I am using rgdal to render some shape file. The first is a set of building zones from NYC Open Data. The second is the NYC coast line from OSM. The Zone files seems to generally render an X axis ...
1
vote
0answers
1k views

Right click context menu in OpenLayers 2

My code is this in Openlayers 2 I'm displaying two layers in a single map one with the world map and the other with my node information .. When I right click(on node layer only) I want to display ...
1
vote
0answers
278 views

How to create a color ramp to change the color of a svg image in arcgis javascript api

I have a svg image to create a PictureMarkerSimbol for a feature. How to create a color ramp to change the svg color based on a criteria, like a attribute on my feature? The ideia is like that: var ...
0
votes
1answer
255 views

How do I create an IFeature object from an IPolyline or ILine object

I am having some problems with some code i am trying to write. The application i am creating allows the user to click on the map and a point will be createD, when they click again to create another ...
0
votes
1answer
59 views

Some gridlines missing in QGIS Print Composer

I'm very new to this so please excuse my ignorance. I've been working with OS data and my own shape files and had no problem with print composer. Suddenly my OS gridlines are not appearing ...
2
votes
1answer
196 views

Handle a great amount of Markers with OpenLayers

My general Problem is to maintain a lot of markers. For the beginning I want to display all Bus Stops of Berlin, Germany and surroundings as Markers. I already got that I have to use a strategy like ...
0
votes
1answer
836 views

Auto Generate kml files along the roads for more than 8 points

What I am trying to do: Auto Generate kml files for bus routes. Input: Bus stop list for each route with name and lat/long (every list has more than >30 bus stops.) Output: kml file of the route ...
2
votes
1answer
69 views

Does OpenLayers support right to left languages?

Right to Left languages need to be handled differently. For instance, in popups the text and the close box should be reversed. Google Maps supports this if the page has a <html dir='rtl'> ...
0
votes
2answers
4k views

Loading WMS layer from external server in Leaflet?

I'm trying to use the WMS service documented here in a leaflet map. The documentation shows an example for openlayers: var wms = new OpenLayers.Layer.WMS( "Population Density", "http://sedac....
3
votes
1answer
2k views

Is it possible to query via bounding box in the Google Maps Static API?

We have a Qt program written in C++ to request wms tiles and display them. This works fine. Now we want to display imaginery from Google Maps and due to some restrictions in our program, we can't use ...
1
vote
1answer
680 views

How to get additional subbasin areas designated by points in the river network?

Update 14/1/9:I follow this post:Watershed and Stream Network Delineation, and here's my workflow: use Batch Point Generation to create batch points related to designated points(green dots) Batch ...
4
votes
1answer
2k views

Defining Feature Set parameter for ArcGIS Python Toolbox tool?

I'm trying to create an ArcGIS Python Toolbox tool which uses a polygon for input. I want the user to be able to create the polygon when the tool is run. I know how to do this using both a ...
2
votes
1answer
155 views

How to calculate percentage of property's perimeter affected by flooding (excluding internal walls)?

I am trying to determine the percentage of a polygon perimeter that is intersected by another. In short, I am carrying out some flooding analysis in ArcGIS 10 and am trying to determine properties ...
2
votes
0answers
51 views

how to assign unique attribute value per neighborhood? [duplicate]

I have a feature class of adjacent polygons and I want to assign an integer attribute value to my polygons based on the following rules : a polygon must not have the same attribute value than any of ...
0
votes
1answer
1k views

unable to upgrade gdal-bin from 1.9 to 1.10 on ubuntu 12.04

I am trying to install import files to cartodb installed on local machine. But import fails with these errors like Error 2001 unable to load data Error 3009 SHP normalization error Also the ruby ...
1
vote
1answer
2k views

How to get polyline features from a raster file using ArcGIS 10.1?

I have a watershed accumulation file look like this: There are several white lines by visual, and I tried the raster to polyline tool and got this: Are there better ways to extract polyline ...
3
votes
2answers
3k views

Table join with .csv file results in null fields after join

Similar to questions already asked about .dbf files, I'm attempting to join .csv files to a .gdb or shapefile coverage in QGIS. The tables as added to QGIS prior to the join look fine, but after the ...
1
vote
1answer
1k views

How to configure IIS site as application for ArcGIS Server 10.2?

I am having several errors displayed after installing the webadaptor onto my site. They all contain this error message "This error can be caused by a virtual directory not being configured as an ...
0
votes
3answers
928 views

Install PostGIS 2.0.3 on PostgreSQL x64 9.1 on Windows Server 2008 R2

I just try to install the PostGIS 2.0.3 on PostgreSQL x64 9.1 on the Windows Server 2008 R2. I got the error message "Error openning file for writing" C:\Program Files\PostgreSQL\9.1\bin\libiconv-2....
6
votes
2answers
7k views

How to get sum of table column values into Python variable?

Im creating a script to calculate some new fields in Arcgis10.1 using the arcpy library. I need to sum the total of a table column in order to calculate a new field. I wanted to ask if it is possible ...
0
votes
1answer
795 views

Reproject GeoJSON from EPSG:3857 to EPSG:4326

I am using this reproject tool to convert a GeoJSON point from EPSG:3857 to EPSG:4326. My command fails. What am I doing wrong? $ echo '{"type":"Point","coordinates":[-13720479.997764934,5688254....
2
votes
1answer
441 views

Leaflet.js and CartoDB.js event conflict

Little problem here. I’ve got a layer from a CartoDB viz that I’m listening to the featureclick event. When a feature is clicked I highlight it by applying cartoCss. However, I want to unhighlight it ...
0
votes
1answer
2k views

Convert GeoJSON form EPSG 3857 to 4326 with JavaScript [duplicate]

Given a GeoJSON in EPSG3857: { "type": "Feature", "properties": {}, "geometry": { "type": "LineString", "coordinates": [ [ -13720479.997764934, 5688254.733325758 ...
2
votes
1answer
325 views

Why is ArcMap leaving connections “<IDLE> in transaction”?

The TL;DR version: When you use ArcMap Query Layers to access a PostgreSQL table, ArcMap's database connections are almost always sitting idle in unclosed transactions. Why would this be? I have ...
2
votes
0answers
243 views

Issues importing feature class to SDE SQL Server 2012

I have received an error indicating there could be issues with my geometry when attempting to import a feature class into SDE. I ran the check geometry tool. No issues. I have removed all fields ...
3
votes
4answers
1k views

How do I edit joined parcels to eliminate gaps in a parcel fabric?

I have a parcel fabric layer that has a gap in it: I want to edit the selected parcel on the bottom to fill the gap. I don't want to construct a new parcel to do so. How do I modify the parcel in ...
1
vote
0answers
30 views

plugin manager fault installation

i have posted once a question about not getting the "get more" icon within the plugin manager tab. I solved my problem by specifying the proxy server that supports the network to which my PC (windows7 ...
2
votes
0answers
686 views

Why does Topo to raster tool stall in ArcMap 10.1?

I'm having the following problem - An 8 mile by 4 mile set of 2 foot contours. Whenever I start the topo to raster tool, I get a constant loop of the tool running. And running, and running, and ...
0
votes
1answer
2k views

How do I solve this dependency error in openSUSE 13.1 when installing QGIS (master)?

I am running OpenSUSE 13.1 and downloading via Yast I get the following error: nothing provides libpq.so.5()(64bit) needed by qgis-master140102-1.2.x86_64 I get three of these errors, for each of the ...
5
votes
1answer
4k views

How to add files within file geodatabase (*.gdb) folder into ArcMap?

I'm trying to use ArcMap to make a basemap and I currently have an unzipped folder full of files including .atx, .gbdindexes, .gdbtable, .gdbtablx, and .spx. I'm well aware that these files cannot be '...
1
vote
1answer
752 views

Using arcpy.GetParameterAsText() or arcpy.GetParameter() to pass datetime.timedelta to script?

I have a function that takes a datetime.timedelta as an argument in a script that I want to use in ModelBuilder. I don't see an option for that as a parameter type, so for now I have a solution that ...
0
votes
2answers
2k views

Using proj4js and Leaflet to transform coordinates?

I'm trying to use proj4js with Leaflet to convert a mouse click event from WGS84 coordinates into British National Grid but when I do this I get NaN for the converted coordinates. Here's the code: ...
3
votes
1answer
411 views

Is there a method to write feature class attributes and counts to an excel workbook in Python? [closed]

I have a feature class with 3 fields that I would like to reference later in an excel workbook. They are all represented in 3 different maps. Essentially, I would like to show the the attribute ...

15 30 50 per page