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

253
Views
¿Convertir el campo de geometría como un tipo diferente en la inserción?

¿Cómo puedo lanzar o insertar el campo geom_one de tipo geometry(MultiLineString,4326) en el campo geom_two de tipo geometry(MultiLineStringZM,4326) ?

Cuando intento insertar usando ST_Force_3D(geom_one) , produce el siguiente error:

 ERROR: Column has M dimension but geometry does not ********** Error ********** ERROR: Column has M dimension but geometry does not ------------------------------------------------------------------------ SQL state: 22023 ------------------------------------------------------------------------

Nota: ST_Force3D() se usa para PostGIS 2.1 y posteriores.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Estás usando la función incorrecta,

ST_Force3D Fuerza las geometrías al modo XYZ. Este es un alias para ST_Force3DZ.

Lo que quieras..

ST_Force4D — Fuerza las geometrías al modo XYZM.

MultiLineStringZM tiene una dimensión Z y una M Eso lo convierte en 4D.

over 4 years ago · Santiago Trujillo 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!