I'm trying to make this data to geometry, but for some reason postgresql returns not readable values. I need latlng.... I can't use that value to draw marker at all.
what am i missing here?
please help.
postgresql v. 11
insert into area(latlng) values('0101000000A0ABA80D249D024100EC624219AA0B41'::geometry);
select st_asgeojson(latlng) from area;
returns
"{""type"":""Point"",""coordinates"":[152484.50666937,226627.157415241]}"
----------------------------------------- added
more queries are added. they always return same value. I'm started thinking the value that I provided from data team, might be wrong...('0101000000A0ABA80D249D024100EC624219AA0B41')
select ST_AsText('0101000000A0ABA80D249D024100EC624219AA0B41');
"POINT(152484.50666936953 226627.157415241)"
select st_setsrid(st_asgeojson('0101000000A0ABA80D249D024100EC624219AA0B41')::geometry, 4326);
select st_transform(st_setsrid(st_asgeojson('0101000000A0ABA80D249D024100EC624219AA0B41'::geometry), 4326), 3857);