Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

gis

Error Code: 3618. st_simplify(LINESTRING, …) has not been implemented (and yet it works fine by doing ST_GeomFromText(ST_AsText()))

November 27, 2022 by Magenaut

Consider the following query:

Categories MySQL, Q&A Tags gis, mysql, mysql-8.0, spatial, spatial-query Leave a comment

Fastest Way to Find Distance Between Two Lat/Long Points

November 24, 2022 by Magenaut

I currently have just under a million locations in a mysql database all with longitude and latitude information.

Categories MySQL, Q&A Tags gis, location, mysql Leave a comment

Geo-Search (Distance) in PHP/MySQL (Performance)

November 23, 2022 by Magenaut

I have a MySQL-table (MyISAM) containing about 200k entries of lat/long pairs that I select from, based on the pairs distance (great circle formula) from another lat/long pair. (e.g. all entries that are within a 10km radius around 50.281852, 2.504883)

Categories MySQL, Q&A Tags distance, gis, mysql, performance, php Leave a comment

GIS: PostGIS/PostgreSQL vs. MySql vs. SQL Server?

November 20, 2022 by Magenaut

EDIT: I have been using Postgres with PostGIS for a few months now, and I am satisfied. I need to analyze a few million geocoded records, each of which will have latitude and longitude. These records include data of at least three different types, and I will be trying to see if each set influences … Read more

Categories MySQL, Q&A Tags geocoding, gis, mysql, postgis, postgresql Leave a comment

Finding Cities within ‘X’ Kilometers (or Miles)

November 19, 2022 by Magenaut

This may or may not be clear, leave me a comment if I am off base, or you need more information. Perhaps there is a solution out there already for what I want in PHP.

Categories MySQL, Q&A Tags coordinate-systems, coordinates, distance, gis, mysql Leave a comment

MySQL: Invalid GIS data provided to function st_geometryfromtext

November 18, 2022 by Magenaut

Here’s my code:

Categories MySQL, Q&A Tags gis, mysql, mysql-5.7, spatial-index Leave a comment

How to insert point data into mysql using PDO bindParam?

November 16, 2022 by Magenaut

DETAILS

Categories MySQL, Q&A Tags gis, mysql, pdo, php Leave a comment

Determine timezone from latitude/longitude without using web services like Geonames.org

October 19, 2022 by Magenaut

is there any possibility to determine the timezone of point (lat/lon) without using webservices? Geonames.org is not stable enough for me to use 🙁 I need this to work in PHP.

Categories PHP, Q&A Tags geolocation, gis, javascript, php, timezone Leave a comment

Get lat/long given current point, distance and bearing

August 18, 2022 by Magenaut

Given an existing point in lat/long, distance in (in KM) and bearing (in degrees converted to radians), I would like to calculate the new lat/long. This site crops up over and over again, but I just can’t get the formula to work for me.

Categories Python, Q&A Tags distance, gis, latitude-longitude, python Leave a comment

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress