Hi OFT, I am trying to develop a form that will survey of particular forest area and the forest user group territory. It would be worthy when user can get instant area he/she surveyed and make decision instantly with forest user group.I want to calculate the area in collect mobile (SRS system will be projected). For this I need to calculate x1 * y2. I thought it will be easier using idm:position() or idm:index() function but I was wrong. Now things are being messy. How can be done such type of calculation? or is their any solution to calculate area using vertices?

asked 02 Dec '17, 14:23

Rajkumar's gravatar image

Rajkumar
10422353
accept rate: 3%


I solved one issue: x1*y2 using expression (location/@x(parent()/coordinate[idm:position($this/parent()) -1]/location/@y))-(location/@y(parent()/coordinate[idm:position($this/parent()) - 1]/location/@x)) Apply when idm:position($this/parent()) = 1 expression (location/@x(parent()/coordinate[idm:position($this/parent()) -1]/location/@y))-(location/@y(parent()/coordinate[idm:position($this/parent()) - 1]/location/@x)) Apply when idm:position($this/parent()) !=1. probably my apply when condition is not ok, I am not sure. I checked in excel everything is right. Now my problem is that I want same calculation as above but that would be with last and first position of the coordinate. How can I perform that work?

permanent link

answered 02 Dec '17, 18:48

Rajkumar's gravatar image

Rajkumar
10422353
accept rate: 3%

edited 02 Dec '17, 19:01

Hi all, I am able to calculate area using vertices somehow. It can be calculate in desktop version but not in mobile version. I am waiting whether it will be done in future releases in mobile. Thank you.

permanent link

answered 04 Dec '17, 12:48

Rajkumar's gravatar image

Rajkumar
10422353
accept rate: 3%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×493

question asked: 02 Dec '17, 14:23

question was seen: 2,085 times

last updated: 04 Dec '17, 12:48