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

Research: Services in AGOL #243

Open
nathankota opened this issue Mar 11, 2021 · 4 comments
Open

Research: Services in AGOL #243

nathankota opened this issue Mar 11, 2021 · 4 comments

Comments

@nathankota
Copy link

Caveat: dependencies on existing ArcGIS server GP services

Can services and data be moved to AGOL? Might not be able to handle the database and relationship classes. What other options might be available for getting it out of ArcGIS Server?

@stdavis
Copy link
Member

stdavis commented Mar 11, 2021

The main concern that I have for this is the geoprocessing tasks. I did just recently get rid of one of the 4. GetSegmentFromStartDistDirt & GetSegmentFromCoords are the two that would be the hardest to replicate on the client...

@steveoh
Copy link
Member

steveoh commented Mar 11, 2021

could they be done in postgis?

@stdavis
Copy link
Member

stdavis commented Mar 15, 2021

I don't know. One example:
Take two input points and return the closest stream segment to them, or a straight line if there isn't a stream within a certain distance.
Take a start point within a certain distance of a stream and trace up or down stream a specified distance.

These sound more than just DB queries to me but I'm not a PostGIS expert.

@steveoh
Copy link
Member

steveoh commented Mar 15, 2021

The first could use ST_DWithin() to get the closest stream segment, and ST_MakeLine() >when there isn't a match on the distance. Use COALSECE() to get the closest segment first and only create the line when no match.

The second sounds like an easily enough problem for PostGIS and pgrouting

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

No branches or pull requests

3 participants