ddb.sql("create or replace table ncmap as select County,FIPS,County_ID,ST_Transform(geom,'EPSG:2264','EPSG:4326') as geometry from ST_Read('map/NC_State_County_Boundary_NCGS_2017.shp')") sql = "SELECT County,FIPS,County_ID,ST_FlipCoordinates(geometry) as geometry FROM ncmap;" query = ddb.sql(sql) layer = PolygonLayer.from_duckdb( query, crs='EPSG:4326', get_fill_color=[255, 255, 0], ) m = Map(layer,_height=200) type(layer) mo.ui.anywidget(m)