Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [circle]

A circle is a simple shape of Euclidean geometry that is the set of all points in a plane that are a given distance from a given point, the centre.

0
votes
0answers
23 views

How to cover data by circles, limited by a maximum of values?

I have a regular grid with a cell width of 200 meters (available as raster and vector data set). Each cell has a value from 0 to 2000. I now want to draw circles around these cells in such a way ...
0
votes
0answers
114 views

Leaflet Mobile Performance (A Couple of Polygons)

I wrote a small Angular app with leaflet.js. In desktop browser scrolling and dragging speed is good but on mobile browser, performance is painfully. There are 8 polygon and 129 circle marker on the ...
2
votes
2answers
65 views

QGIS3 Shape Digitizing Circles is Drawing Improperly

I'm trying to draw a circle in QGIS 3 with the shape digitizing toolbar. I've tried several of the "add circle" options and they all look normal while drawing, but once I click to finish the shape it ...
2
votes
0answers
91 views

Finding center of circle given three points?

I have been trying to solve this problem for quite some time, but can't find a good solution. Given three sets of geographic coordinates how can I calculate the center point. By "center point" I mean ...
3
votes
1answer
43 views

Circle turns into ellipse after converting it into raster in ArcGIS Pro?

I have a polygon layer that contains a circle and an irregular polygon and I want to convert it into a raster in ArcGIS Pro. When I do that, the result is a raster containing the irregular polygon and ...
1
vote
0answers
67 views

Why does node Circle to Polygon module returns oval/ellipse instead of a shape like circle?

I'm using npm package circle-to-polygon and I wrote following code to return a polygon which is approximately like a circle. const circleToPolygon = require('circle-to-polygon'); let coordinates = [...
0
votes
1answer
26 views

Seeking PostGIS query to find LineStrings (Route) entering or crossing circle area? [closed]

I need to know Postgis query to find LineStrings (Route) entering or crossing circle area. I tried using ST_Crosses function but it is not resulting with correct output. Any suggestions?
0
votes
1answer
190 views

How to use sum of circular moving window for each center cell with focal in R

I want to calculate the sum of a moving window circle in R for each center cell. Is there a way to do this in R with focal or focalWeights on my raster (preferrably with map units)? Focal does not ...
1
vote
1answer
60 views

Circle display on openlayers map (client-side vs server-side)

I'm developing a webGIS website where I draw circles from two sources: a mapserver mapfile that "draws" them from PostGIS (red circles in image). The circles are created with ST_Buffer, eg ST_Buffer(...
2
votes
3answers
167 views

Need tool for ArcMap to draw circle touching three points

I need tool for ArcMap 10.2.2 for Desktop to draw circle by (touching) three points. I don't know where the center of this circle and this three points shoud be on the circle line. I have such ...
0
votes
2answers
2k views

How to get the exact Circle that user has drawn using Leaflet.draw.Circle?

I have a simple Leaflet map, where The user can draw a Circle, using Leaflet.Draw. When you use the following code to get the geometry, map.on(L.Draw.Event.CREATED, function (event) { var ...
0
votes
0answers
966 views

How to plot Circle of radius 1km on Google Maps

I have circle of radius 1km in QGIS (centered at: -122.69690,58.80688 WGS84, North America), when I export it to Google map it isn't 1km in radius (I checked using the measure tool on Google maps) and ...
2
votes
1answer
71 views

Drawing rings in QGIS

I plan to use for positioning and tracking of areas worked for underwater mining. I am trying to draw rings using Rectangles Ovals Digitizing plugin. But there is very little info available.
-1
votes
1answer
53 views

How to determine whether a point in multiple points?

I generate lon and lat of a 12 km circle on map following this link: def createCircleAroundWithRadius(lat, lon, radiusMiles): ring = ogr.Geometry(ogr.wkbLinearRing) latArray = [] lonArray ...
1
vote
0answers
37 views

2D Curve to poly-lines transformation through triangulation?

I'd like to understand whether it is possible to change the curve in the picture to a sets of poly-lines through triangulation? and is it possible in QGIS? Otherwise, are there other methods to ...
2
votes
1answer
127 views

Fast(est) way to detect if point is in range of another point? (Geographic Coordinates)

I'm looking for a way to detect if 2 points are "near enough" each other for a match, and hopefully, if the range could be specified in metric system (each item may have different ranges, but there ...
1
vote
0answers
36 views

Custom Tool for creating a cirle out of straight segments

I used to use an old tool coded by somebody that would create a circle much like the current ESRI Circle tool, but it would make the circle out of straight segments with many vertices. The dll can ...
0
votes
1answer
78 views

Search based on zip code & radius

I am creating ArcGIS Online map and having a functionality to search Zip Code using the USA Zip Code 2014 pre-existing layer. I further need to extend the functionality so that user can provide Zip ...
2
votes
1answer
203 views

Fill options for vector layers in leaflet

In leaflet, how can I manage the filling option? More specifically, I would like to fill inside a circle until a certain border not the whole geometry. Is that possible? I simply use L.Circle: link ...
1
vote
0answers
68 views

GeoServer distorting circle/buffer [closed]

Trying to render a circle and buffer from the WFS link generated by me, with GeoJSON format using Leaflet in an app and QGIS on desktop to render it, the image below was the result. How do I fix this?...
1
vote
0answers
86 views

Circle with coordinates and angles

I have a csv file with points and convert them to polygons. I need to draw smt like The problem is that I have radius Bearing start and end poins How I can to draw such circles in QGIS? Can someone ...
0
votes
1answer
75 views

Postgis - Find records that each contain a point within a circular area

I have a few tables: hubs coverage_areas jobs Jobs have a lonlat (st_point) column Coverage areas have a lonlat (st_point) column and a radius (integer). Hubs can have multiple coverage areas. ...
1
vote
0answers
175 views

Finding circle shapefiles? [closed]

I need some help finding circle shapefiles (polygons) within a database, something like tanks and silos, but they weren't classified right in OSM so looking for attributes won't help (doh!). Is ...
3
votes
1answer
271 views

Problem with flyTo and circleLocation

I made a leaflet map with a search control. The problem occurs when enabling circleLocation and flyTo: The circle gets drawn much too early and in the center of the current mapbound. When the map ...
1
vote
0answers
466 views

Query geoserver and get all the points in a radius of 500m [closed]

I'm using postgresql+postgis, openlayers(js) and geoserver. I have a table for hotels (id, name, geometry). What I'm trying to do is, click on the map and place a point and show me all the hotels (...
1
vote
1answer
536 views

Autohide marker after x seconds [closed]

Working with Leaflet Control Search. I would like to add a timeout function to the marker that is added to the map if a location is found. Any ideas in which line I have to add "setTimeout" function? ...
1
vote
1answer
317 views

How does PostGIS store circles?

I was reading this answer by MikeT to Creating circle in PostGIS? which mentions that the following SELECT ST_Area(geom) FROM ( VALUES ('CURVEPOLYGON(CIRCULARSTRING(2 1, 1 2, 0 1, 1 0, 2 1))'::...
1
vote
1answer
72 views

How to remove the line from inside the circle? QGIS

How to remove the line from inside the circle in QGIS?
0
votes
1answer
76 views

Transparent circle in QGIS

What to do to only center of the circle became transparent? also I want see the red outline *
3
votes
2answers
1k views

Calculate radius from magnitude of earthquake on leaflet map?

I have a working leaflet map that is showing earthquake data from http://earthquake.usgs.gov/. I'm trying to figure out the "right" way to calculate the radius of the circle for an earthquake given ...
0
votes
1answer
104 views

Re-setting Radius of existing Circle object in esri/geometry/Circle [closed]

I would need to update the radius of existing circle object in esri/geometry/Circle. I've tried this code but doesn't work as expected. var radiusSymbol = new SimpleFillSymbol(SimpleFillSymbol....
3
votes
0answers
338 views

Calculating the maximum remoteness from of the boundary of a polygon (i.e. the radius of the largest circle inscribed in this polygon)

I have two related tasks. How is it possible to solve them (or at the at least the first one, which is the principle task) in ArcGIS or QGIS ? Task 1. How to find a radius of a largest circle ...
3
votes
1answer
212 views

Designing circle label with many attributes in ArcGIS for Desktop?

Without using ArcPy, how can I create a circle label show many pieces of information from an attribute table in ArcGIS? I have image about planning zone map, with specific label on top of objects, ...
2
votes
2answers
745 views

Correct algorithm to determinate if the user is really inside/outside a region

first time here. I'm currently building a system that control the user GPS position in order to turn on/turn off some stuff inside user's house. For example, if the user leave the house we must ...
3
votes
1answer
472 views

How to create Great Circle Mapper style range rings in QGIS?

I'm trying to figure out how to create a range ring from some location (e.g. Broome Airport "YBRM") in QGIS that looks like something in Great Circle Mapper. The issue is about how the range ring ...
1
vote
1answer
650 views

QGIS Proportional Circles

I'm having a bit of an issue with the proportional circle plugin for QGIS. I want to be able to adjust the start size of the circle but for the life of me I can not figure it out but I was able to do ...
2
votes
1answer
494 views

How can the gridlines in QGIS be set to be curved lines (neat circles) around polar region (azimuthal projection)?

I am trying to present a map of our polar regions using QGIS software. I am using an azimuthal (polar) projection. I have added a graticule (gridlines) to the map as a background, which are at 10 ...
1
vote
1answer
140 views

Generating points along perimeter of circular feature in ArcMap? [duplicate]

How do I generate equally spaced points on the circumference of a circular feature in ArcMap? I am currently working on a project where I need 36 equally spaced UTM coordinates that form a silo.
7
votes
2answers
298 views

Perfect circle in ArcGIS, why I get a multiside polygone (plurigone)?

Using ArcGIS basic (10.3), I tried to make perfect circles in ArcGIS with the buffer tool. As you can see on the two print screens, the circle is not perfect when I use a radius of 7,5 meters in a MTM ...
1
vote
0answers
225 views

How do I get imported KML circles to appear as circles rather than ellipses in QGIS?

I have a QGIS project, CRS is WGS84 (EPSG 4326). I have OpenStreetMap as the base layer. I have loaded some point features. I have created a buffer zone around some of these features with WGS84 as ...
1
vote
0answers
539 views

How to remove circles from new polygons in QGIS? [closed]

I've just started using QGIS (2.6.0-Brighton). Every time I create a new polygon, a circle appears in the center (see below). I thought this might just be a feature of QGIS editing that helps you to ...
3
votes
1answer
1k views

How a draw a circle (on the surface of earth) on a mercator projection?

I would like to use R and leaflet to draw a circle (a real circle on the surface of the earth) on a mercator projection. In the following code, I have the center of the circle (with lng=0 and lat=60),...
2
votes
1answer
214 views

Point buffer not round - jagged circle like thing

Any ideas why running a point buffer (50 and 150 meters) would result in this shape? ArcGIS 10.2 - All projections match
0
votes
1answer
694 views

Google Earth: Circular polygons that follow earth curvature

I'd like to draw filled circles in Google Earth which follow the curvature of the earth, i.e. for 1000ft altitude, not only the circle's edge but also the center is required to be 1000ft above ...
1
vote
1answer
7k views

Drawing circle with OpenLayers3, but not seeing on map?

I am trying to draw a circle on a map, using OpenLayers 3, but I am not sure why the circle is not rendering. My expectations with the code below is that is should be centering on -73.5971431341708, ...
2
votes
1answer
101 views

Circles and Projection in ArcGIS for Desktop?

I am using ArcGIS 10.2 and when I run topology on my feature class (which is in NAD 83 Lambert_Conformal_Conic) there were no overlaps. Once I project it into any projection I get overlapping polygons ...
0
votes
2answers
2k views

Leaflet: Capturing points for features inside circle

I'm using the leaflet draw tool to create a circle and then finding the points inside the circle. My data is from GeoJSON, and the code works as far as figuring out how many points are inside, but I ...
1
vote
2answers
807 views

Storing circle in GeoJSON for OpenLayers 3?

I am loading my layers from external files - I am using geojson format for it, but it's not necessary - I can use any available format. Is there a way, how to store a circle (ol.geom.Circle) in the ...
1
vote
2answers
724 views

How to turn a point layer into classified proportional circles in QGIS 2.12?

I'm trying to style a point layer representing cities around the Mediterranean following these two rules : The points should be represented as proportional circles, following a classification in 5 ...
3
votes
1answer
2k views

GeoDjango, distance filter based on database column

I have a geodjango model with fields coverage = 10 * 1609.344 reference_point = Point(-72,45) #or some other lat lng class ServiceArea (geo_models.Model): center = geo_models.PointField(default=...