Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

321
Views
Transformando coordenadas de EPSG:3857 a EPSG:32633 usando Proj4js

Estoy tratando de transformar las coordenadas de EPSG: 3857 a EPSG: 32633 usando Proj4js. Agregué este script y el código es el siguiente:

 <script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.4.3/proj4.js"></script> Proj4js.defs["EPSG:3857"] = "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"; Proj4js.defs["EPSG:32633"] = "+proj=utm +zone=33 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"; var source = new Proj4js.Proj('EPSG:3857'); var dest = new Proj4js.Proj('EPSG:32633'); var coorXNew = new Proj4js.Point( minX, maxX ); var coorYNew = new Proj4js.Point( minY, maxY ); var transXCoords = Proj4js.transform(source, dest, coorXNew); var transYCoords = Proj4js.transform(source, dest, coorYNew);

Sigo recibiendo este error: Error de referencia no detectado: Proj4js no está definido.

¿Qué estoy haciendo mal? ¡Gracias por las respuestas!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Una mirada rápida a los documentos y al archivo proj4.js muestra que el objeto Proj4js no existe. Es proj4 . ¡Asegúrate de echar un vistazo al documento la próxima vez antes de preguntar!

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!