mapshader.transforms.add_xy_fields#

mapshader.transforms.add_xy_fields(gdf, geometry_field='geometry', x_field_name='X', y_field_name='Y')[source]#

Extract x and y fields from geometry and create new columns with them.