Projection problem
tech4bot opened this issue · comments
Hello,
After loading a file with a projection inside (EPSG:31700 --- prj file --- http://spatialreference.org/ref/epsg/dealul-piscului-1970-stereo-70/prj/) all areas are not fitting correctly on map:
Is there any way to fix this or what should I do to shift all the areas after import?
Thank you!
we use proj4js to deal with projections and it doesn't have that datum or ellipsoid you are using and I've never actually encountered that one before, this are the supported datums and supported ellipsoids
thank you for your clarification.
one more question, I found inside the shp.js file the following function:
module.exports = function(defs) {
defs('EPSG:4326', "+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees");
[...]
Here I found defs('EPSG:31700', "+proj=sterea +lat_0=46 +lon_0=25 +k=0.99975 +x_0=500000 +y_0=500000 +ellps=krass +nadgrids=stereo70_etrs89A.gsb +units=m+no_defs ");
I've try to add this but I still see no difference.
I also found out that my projection (EPSG:31700) is deprecated and alternative is EPSG:3844, and I've try to add in shp.js: defs['EPSG:31700'] = defs['EPSG:3844']; but same, I don't see any difference.
Am I doing something wrong?
Thank you!
I will wait for your input maybe you find something how to use it. I am looking for something like when I am using .prj file to use the string you give me.
Thank you!