I have a map of the Netherlands imported from a SHP-file into my PostGIS environment with SRID 4289 (Rijksdriehoek Amersfoort). When I connect using QGIS to the PostGIS database and add the layer with municipality information, all goes well en looks great.
Also, I have a database table with a column with latitude and longitude information (I guess this is standard WGS84). This information I convert to a point in PostGIS SQL using: ST_SETSRID(ST_MakePoint(longitude, latitude), 4289)
.
But when I load a query on this table into the QGIS environment it plots the points at the wrong location (far below the municipality object and if I zoom in very much, I do see the shape of the Netherlands appearing). I have tried switching between 4289 and 4326 but no differences occur.
- Is this a conversion issue between the different SRID's or is there something else?
- What I can do to properly overlay the map with the points properly?