Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i am working on some camera data. I have some points which consist of azimuth, angle, distance, and of course coordinate field attributes. In arcmap I want to draw shapes like this:

Sketch of angular sector

The shape is pink. Can I get the shape with postgres-postgis?


share|improve this question
I think there must be a diagram missing from this question. – PolyGeo Oct 6 '11 at 22:39
what diagram you need for this – Aragon Oct 7 '11 at 8:05
Diagram is there now so not sure why it was not when I posted my comment. – PolyGeo Oct 9 '11 at 0:27
up vote 1 down vote accepted

There is a 2009 ArcGIS python script here:

If you have the necessary attributes in your point feature class, then it is pretty straightforward and the script creates a polygon feature class. You need a From azimuth and To azimuth so you might need to do some calcs on your table first. It also uses a From distance and To distance, but from your diagram you probably want those two fields to be equal for each point.

The script creates a polygon for each point. It doesn't have a smooth arc but the script creates polygon edges at 1 degree increments, so it's pretty good.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.