Questions tagged [gis]

A Geographic Information System (GIS) captures, stores, analyzes, manages, and presents data that are linked to location(s). The GIS Stack Exchange should be considered for questions with this tag.

According to Wikipedia:

A geographic information system (GIS), geographical information system, or geospatial information system is any system that captures, stores, analyzes, manages, and presents data that are linked to location(s). In the simplest terms, GIS is the merging of cartography, statistical analysis, and database technology.

There is a Stack Exchange site devoted to Geographic Information Systems.

6555 questions
2
votes
1 answer

gdal resize and save to png using python

I know how to use gdal_translate from cmd line to resize and save the png: gdal_translate -of PNG -outsize 10% 10% image.bsq image.png But using python I only know how to save the png: from osgeo import gdal img_png = 'image.png' img_bsq =…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
2
votes
1 answer

Duplicate values in r raster package zonal function

Hi raster warriors! I am having a headache with my results after months of manipulating my data set. I am new with R and spatial analysis but very happy in my learning process. Here my issue: Once I apply the zonal function to a set of 5 raster…
Diego Moya
  • 123
  • 10
2
votes
4 answers

How to use python to turn a .dbf into a shapefile

I have been scouring the internet trying to find a pythonic (sp?!) way to process this data.. Everyday we will recieve a load of data in .dbf format (hopefully) - we then need to save this data as a shapefile. Does anyone have any links or any…
Alice Duff
  • 667
  • 6
  • 11
  • 18
2
votes
0 answers

Small shift when transforming from GIS to netlogo coordinates

When storing turtle coordinates as GIS coordinates, and then loading them into NetLogo by converting them back to NetLogo coordinates, there is a slight shift in position. This is the code I use to store NetLogo to GIS coordinates: let env…
2
votes
1 answer

HERE maps isochrone request departure

I'm following this example: https://developer.here.com/api-explorer/rest/routing/time-based-isoline-start-as-center but it seems to always return a different result depending on when I call it. I would like to specify the departure time the…
Negapizza
  • 23
  • 3
2
votes
1 answer

How can I embed Google maps into a wxPython program?

I would like to create a program using wxPython that uses Google maps to display and select geographic data. Is there a proven, ready to use widget for this?
Ber
  • 40,356
  • 16
  • 72
  • 88
2
votes
0 answers

Dividing Individual Spatial Polygons Equally in R

I have a shapefile of polygons that are the townships in the state of Iowa.I'd like to divide each element (ie each township) into 9 equal parts (i.e. a 3 x 3 grid for each township). I've figured out how to do this, but am having trouble forming a…
winitheju
  • 65
  • 1
  • 7
2
votes
0 answers

openlayers web app porting to iOS

I want to develop an application for iOS and android which monitors user current location and show local notifications/alerts to the user when user enters a boundary defined in application . I am planning to choose openlayers java script library …
2
votes
1 answer

Concatenate two C# DbGeography Polygons into a single multipolygon

I have downloaded a map with Swedish districts as Shape files from an official source. I then used QGIS to convert the data into geojson and then converted the geojson to DbGeography like this: https://stackoverflow.com/a/49225753/3850405 Map…
Ogglas
  • 62,132
  • 37
  • 328
  • 418
2
votes
1 answer

Leaflet MarkerCluster - how to check if cluster is going to be spiderfied (i.e. has maxZoom level)?

I want to implement my own form of spiderfying (HTML popup) so I need to know if cluster is going to be spiderfied (i.e. has a maxZoom level). There is a spiderfied event, but it is fired after a cluster is spiderfied, which is useless for me. There…
jirinovo
  • 2,105
  • 3
  • 26
  • 37
2
votes
3 answers

Cities/Province/Cantons list with coords?

where can I get a list of that? I need the coords of the distrits and cantons of Costa Rica, is there a place to get those? thanks in advance
eos87
  • 8,961
  • 12
  • 49
  • 77
2
votes
1 answer

Turn a mutlipolygon into single point in a geospatial analysis

I'm trying to replace my multipolygons from my tibble with a geometry object into points. I'm using the sf package for plotting. It's hard to give a reproducable sample because of the many datapoints in geometry. this: into this: But I don't use…
Tdebeus
  • 1,519
  • 5
  • 21
  • 43
2
votes
2 answers

Java API for parsing MapInfo TAB format

I am working on parsing a MapInfo TAB Format file in Java. It consists of a set of four files viz .TAB, .ID, .MAP and .DAT. After searching on web I came across a parser provided by GeoTools at this repository:…
Surabhi Mundra
  • 377
  • 1
  • 12
2
votes
0 answers

Recenter world map and shapefiles in R

I'm new to spatial data analyses in R and am stuck on a particular issue. I have overlaid multiple shapefiles on a world map which is centered on the Atlantic Ocean (default centering). All of my layers import fine in this view, but what I would…
nrcombs
  • 503
  • 3
  • 17
2
votes
1 answer

Geolocation: How to get a uniqueID for a street/block?

Background I'm a bit new to google maps/mapping sdks in general. I want to create a street by street "heat" map of an area on iOS. As an easy to understand example, let's say it will be for the purpose of mapping daily puppy sightings in a city. The…
Emin Israfil iOS
  • 1,801
  • 1
  • 17
  • 26
1 2 3
99
100