neeraj
September 16, 2024, 7:14am
1
These are my info
{
"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.23+9",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/ ",
"java.version": "11.0.23",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.23+9",
"os.name": "Linux",
"os.version": "5.19.0-46-generic",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"postgres",
"mongo",
"h2"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "16.4"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.7.2"
}
},
"run-mode": "prod",
"version": {
"date": "2024-05-23",
"tag": "v0.49.12",
"hash": "77e7a81"
},
"settings": {
"report-timezone": "Asia/Kolkata"
}
}
}
This is the file link for the state in India:
https://teleopdassets.s3.ap-south-1.amazonaws.com/assets/cassest/KarnatakaCustom.geojson
TonyC
September 18, 2024, 5:20pm
2
I would suggest you add that to a public git repo or something and add that there cause there might be formatting that geojson is doing? Something like the following:
https://raw.githubusercontent.com/Tony-metabase/testing/main/MT.json
neeraj
September 25, 2024, 11:36am
3
still doesn't work....is there any alternative or is it possible that metabase is not compatible for point feature geojson
TonyC
September 25, 2024, 11:40am
4
can you share the github URL you have created so I can try myself and see what errors pop out
neeraj
September 25, 2024, 11:55am
5
TonyC
September 26, 2024, 10:58am
6
So the error implies that the geojson isn't properly formatted:
can you share the non raw url so I can find it on github and see if it renders there
neeraj
September 30, 2024, 12:59pm
7
This is non raw url:-
{
"type": "FeatureCollection",
"features": [
{
"id": "0",
"type": "Feature",
"properties": {
"CircleName": "Karnataka Circle",
"Pincode": 585447,
"StateName": "KARNATAKA"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
76.8071,
17.8155
],
[
This file has been truncated. show original
This is non raw url for only 100 pincodes:-
{
"type": "FeatureCollection",
"features": [
{
"id": "0",
"type": "Feature",
"properties": {
"CircleName": "Karnataka Circle",
"Pincode": 585447,
"StateName": "KARNATAKA"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
76.8071,
17.8155
],
[
This file has been truncated. show original
This is excel file with pincode and lat and long:-
https://teleopdassets.s3.ap-south-1.amazonaws.com/assets/cassest/KarnatakaPincode.xlsx