Anuncio: Todos los proyectos no comerciales registrados para usar Earth Engine antes del
15 de abril de 2025 deben
verificar su elegibilidad no comercial para mantener el acceso a Earth Engine.
ee.Geometry.Polygon.transform
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Transforma la geometría en una proyección específica.
Uso | Muestra |
---|
Polygon.transform(proj, maxError) | Geometría |
Argumento | Tipo | Detalles |
---|
esta: geometry | Geometría | Es la geometría que se reproyectará. |
proj | Proyección (opcional) | Es la proyección de destino. El valor predeterminado es EPSG:4326. Si tiene un CRS geográfico, los bordes de la geometría se interpretarán como geodésicas. De lo contrario, se interpretarán como líneas rectas en la proyección. |
maxError | ErrorMargin, valor predeterminado: null | Es el error de proyección máximo. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 2025-07-26 (UTC)"],[[["\u003cp\u003eTransforms the provided geometry to a new projection, specified by the \u003ccode\u003eproj\u003c/code\u003e argument.\u003c/p\u003e\n"],["\u003cp\u003eBy default, the geometry is projected to EPSG:4326 (WGS 84), treating edges as geodesics if the target projection is geographic.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify a maximum projection error tolerance using the \u003ccode\u003emaxError\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etransform\u003c/code\u003e function returns a new Geometry object representing the transformed geometry.\u003c/p\u003e\n"]]],["The `transform` function reprojects a geometry to a specified projection. It accepts the target projection (`proj`) and an optional maximum error (`maxError`). The function returns the transformed geometry. If no projection is provided, it defaults to EPSG:4326. The provided geometry's edges are interpreted as geodesics in geographic coordinate systems and as straight lines otherwise. The input `geometry` is reprojected.\n"],null,["# ee.Geometry.Polygon.transform\n\nTransforms the geometry to a specific projection.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------|----------|\n| Polygon.transform`(`*proj* `, `*maxError*`)` | Geometry |\n\n| Argument | Type | Details |\n|------------------|----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `geometry` | Geometry | The geometry to reproject. |\n| `proj` | Projection, optional | The target projection. Defaults to EPSG:4326. If this has a geographic CRS, the edges of the geometry will be interpreted as geodesics. Otherwise they will be interpreted as straight lines in the projection. |\n| `maxError` | ErrorMargin, default: null | The maximum projection error. |"]]