Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

Thanks.

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
add comment

2 Answers 2

up vote 1 down vote accepted

There is a 2009 ArcGIS python script here: http://arcscripts.esri.com/details.asp?dbid=16089

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
add comment

Your Answer

 
discard

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.