Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capability to Convert Between Units? #449

Open
pmacMaps opened this issue Nov 5, 2018 · 2 comments
Open

Capability to Convert Between Units? #449

pmacMaps opened this issue Nov 5, 2018 · 2 comments

Comments

@pmacMaps
Copy link

pmacMaps commented Nov 5, 2018

I'm starting to experiment with this library, as I think our County's Planning office might benefit from it.

We have some web services that have a shape area field in the units of square feet. For presentation purposes, acres would be a more meaningful unit. Is there a way to perform this calculation while constructing a chart?

Or is this solution to create a field on the data set representing area in acres?

@pmacMaps
Copy link
Author

pmacMaps commented Nov 5, 2018

Along with this is whether or not you can even use the built-in shape area or shape length fields? I keep getting errors when trying to use the Shape.STArea() field as the onStatisticField property.

@tomwayson
Copy link
Member

Or is this solution to create a field on the data set representing area in acres?

That could be one way to do it that would probably get around the issue you have w/

getting errors when trying to use the Shape.STArea() field as the onStatisticField property.

Alternatively, if you are able to get that query working, and you know the conversion function, you could use the pretty much undocumented .transform() function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants