fablabbcn / fablabs.io

The platform of the global Fab Labs Network
https://fablabs.io
GNU Affero General Public License v3.0
67 stars 33 forks source link

FabLab Map location error #619

Open oscarcreativespark opened 1 year ago

oscarcreativespark commented 1 year ago

Describe the bug Our lab have an error in the map location, instead of apperaring in the right country the pin is shown in the sea.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Fablabs.io'
  2. Click on 'Labs'
  3. Go to 'Filter by Country' and type 'Ireland'
  4. Click on 'Filter' button
  5. Zoom out and See error

Expected behavior The pin lab have to appear in the right coordinates 53.98327643731556, -6.382102607543048

Screenshots image

Desktop (please complete the following information):

Additional context The map never appear since we upload our information the first time.

kny5 commented 1 year ago

Hi Oscar, I've noticed this before while analyzing the database for the Open-Know-Where map of machines project. I've parsed your FabLab data that's saved in the Database (Shown below). If you notice the Latitude and Longitude were saved as Null values. That's the reason why its shown on the location Latitude 0.0, Longitude 0.0 Null Island My suggestions are:

  1. While capturing your FabLab's coordinates, check the format of the numbers to be FLOAT numeric, and NOT tex. i.e. "10,0"
  2. I know the Map interface isn't the friendliest but try to contact the sysadmin in case there are no ways to edit the GeoLocation on the FabLab page.
  3. Try to input the GeoLocation from a mobile instead a PC.
  4. In case the Geolocation input is generated by your address, check for any typos in the Names and Zipcode.

Let me know if you have more questions.

Kind regards, Antonio.

{ "id": 2647, "name": "Creative Spark Enterprise Fablab", "kind_name": "fab_lab", "parent_id": null, "blurb": "The Enterprise FabLab in Dundalk Co. Louth is a digital fabrication laboratory for the North East region. Offering educational and professional prototype development courses and services.", "description": "The Enterprise FabLab @ Creative Spark has a defined ambition to stimulate enterprise, creativity, innovation and education in the North-East region through the establishment of a digital fabrication laboratory “FabLab”. The Enterprise FabLab provides access to a suite of state-of-the-art equipment, software, training and shared working space in one central location for members to design, fabricate, collaborate and iterate, empowering people by facilitating independent interest-driven projects, hands-on experiences, access to technology and opportunity to prototype locally as an alternative to outsourcing this process.", "slug": "enterprisefablab", "avatar_url": "http://fablabs.io.s3.amazonaws.com/2022/09/23/08/46/57/4b826533-aa33-48dc-a75b-16dfe086dfb1/FabLab HighRes-1.png", "header_url": "http://fablabs.io.s3.amazonaws.com/2022/12/23/10/34/49/1f52ff6f-3f01-4c85-9b41-58092dd2ec59/Image.jpeg", "address_1": "Clontygora Drive", "address_2": "Muirhevnamor", "city": "Dundalk", "county": "Louth", "postal_code": "A91HF77", "country_code": "IE",

"latitude": null, "longitude": null, "address_notes": "Second building on the back", "phone": "0429385735", "email": "fablab@creativespark.ie", "capabilities": [ "three_d_printing", "cnc_milling", "circuit_production", "laser", "precision_milling", "vinyl_cutting" ], "activity_status": "active", "links": [ { "id": 40069, "url": "https://www.instagram.com/enterprisefablab/" }, { "id": 39915, "url": "https://creativespark.ie/fablab.html" } ] }