tannerjt / AGStoShapefile

Convert ArcGIS Server Dynamic Map Service to GeoJSON and Shapefile
MIT License
213 stars 47 forks source link

Support win-1251 Cyryllic #24

Open Amrizhan opened 7 years ago

Amrizhan commented 7 years ago

Hi,

What if layers name on Cryrllic win-1251 and has space.

Layer names looks like this "Населенные Пункты"?? I tried to do node cmd and have next error:

(node:4020) DeprecationWarning: process.EventEmitter is deprecated. Use require( 'events') instead. info: code=400, message=Invalid or missing input parameters., details=[]

C:\Users\MOC\Documents\AGStoShapefile-master\AGStoShapefile-master\AGStoSHP.js:6 2 throw err; ^ [object Object]

the link in txt file is x.x.x.x/arcgis/rest/services/Kazakhstan_WM/MapServer/23|Астана

With latic symbols it works Thank you