Not able to create replica/geodatabase for public feature layers

290
0
07-24-2019 07:42 AM
DevendraKhatri
New Contributor III

So I am using the "createReplica" api to create the geodatabase for my feature layer I pass all the parameters required.

If I use this api for the public feature layers, It gives me the whole JSON of the mapserver, 

Also I need to confirm how will I know the geometry type dynamically of any layer I am downloading geodatabase for.


I tried following:

URL: [POST]

https://cohegis.houstontx.gov/cohgis/rest/services/IT/cohgis_feature_services_wm/MapServer/29/createReplica

parameters: geometrygeometryTypeinSRlayersreplicaNametransportTypeasyncsyncModeldataFormat

Am I sending invalid replica definition, or the feature layer I am using has no capability, or I should use something else to download geodatabse using rest apis. [ Definitely not Native SDK ]

Thanks

0 Kudos
0 Replies