WebGL (PBF Format) in ArcGIS Server 10.6.1

4151
9
11-12-2018 01:36 PM
philippenn
Occasional Contributor

Have ArcGIS Server Enterprise 10.6.1 instance with a FeatureService with a single point layer. If I go to http://<myarcgisserverurl>/<myservice>/FeatureServer/0/query I do not see PBF as a format in the drop-down.Nor can I jigger the URL querystring with f=PBF (Format not supported). Is there something I need to do to enable the PBF format? Can't seem to find documentation on this -- I know it was previously only in ArcGIS Online but thought it was a 10.6.1 capability.

0 Kudos
9 Replies
ToddAtkins
Occasional Contributor

Just a guess, but I think you may have to pass quantizationParameters to the endpoint. Query (Feature Service/Layer)—ArcGIS REST API: Services Directory | ArcGIS for Developers 

0 Kudos
philippenn
Occasional Contributor

I don't think so...my FeatureService Layer is a point layer and I _think_ that supportsCoordinateQuantization  is only for polylines/polygons. At least, I don't see where to set that.

ESRI, I can't be the only person wanting to serve up lots of features using 10.6.1 to a WebGL client and not using AGOL/Portal. Is a small blog entry guiding us through this a possibility if it is more than one setting? Otherwise, what is the setting I'm missing?

thanks in advance,

Phil   

ToddAtkins
Occasional Contributor

Our point layer says supportsCoordinateQuantization: true but we are also using AGOL. I haven't spun up a 10.6.1  server so no idea if it operates any differently (one would hope not though, lol).

0 Kudos
philippenn
Occasional Contributor

Checked and our point layer also says supportsCoordinateQuantization.

Also rejigged the URL to map to our own service...but no die, just get Format Not Supported

Supported Query Formats: JSON, AMF, geoJSON

http://<server>/arcgis/rest/services/<service>/FeatureServer/0/query?f=pbf&geometry=%7B%22spatialReference%22%3A%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D%2C%22xmin%22%3A-8228293.22084349%2C%22ymin%22%3A4960457.387596488%2C%22xmax%22%3A-8225847.2359383665%2C%22ymax%22%3A4962903.372501614%7D&maxRecordCountFactor=3&outFields=*&outSR=102100&quantizationParameters=%7B%22extent%22%3A%7B%22spatialReference%22%3A%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D%2C%22xmin%22%3A-8228293.22084349%2C%22ymin%22%3A4960457.387596488%2C%22xmax%22%3A-8218509.281222992%2C%22ymax%22%3A4970241.327216988%7D%2C%22mode%22%3A%22view%22%2C%22originPosition%22%3A%22upperLeft%22%2C%22tolerance%22%3A19.10925707128908%7D&resultType=tile&returnExceededLimitFeatures=false&spatialRel=esriSpatialRelIntersects&where=objectid+%3C+100&geometryType=esriGeometryEnvelope&inSR=102100

0 Kudos
ShaharBukra
New Contributor III

Hi,
Just came across this yesterday when try to load large polygon feature layer (200K),
Try to find the solution by myself,
hoped i missed some checkbox, but couldn't find anything...

Thanks

Jeremy Bartley

Derek Law

Noah Sager

0 Kudos
HectorMendia
New Contributor II

Hi,

PBL Format is not available in ArcGIS Server 10.6.1

It will available for 10.7

RichGwozdz
New Contributor III

How can the PBF responses be decoded?

0 Kudos
HectorMendia
New Contributor II

Is loaded like a JSON

featureLayer = new FeatureLayer({ url: .... }); // response are in PBF format
console.log(this.featureLayer); // <-- JSON

0 Kudos
by Anonymous User
Not applicable

is feature service PBF a layer that can support popups and query? In other words, will it finally allow for fast layers that can scale to heavy load, like the Hosted Feature Layers do currently on AGOL?  Will this kind of layer work in IE11?

0 Kudos