For a project the map projection is EPSG:32468 (tiles). On top of the map, two or three GeoJSON LineStrings should be displayed using OpenLayers. Each LineString has about 1500 coordinates.
Actually, I would like to store the coordinates of the GeoJSON in lat/lon (EPSG:4326) and then reproject them using OpenLayer's internalProjection and externalProjection, as lat/lon is more "natural"/"human" to think about positions. That is, something like:
var format = new OpenLayers.Format.GeoJSON({
'internalProjection': new OpenLayers.Projection("EPSG:32468"),
'externalProjection': new OpenLayers.Projection("EPSG:4326")
});
Are there any performance issues to be expected if doing so? Or should I instead rather reproject the GeoJSONs in advance, e.g. by using ogr2ogr
, that is having them already in the special map projection? I do not yet know how many coordinates a LineString will include in future, and importand: the map should also work nicely on iOS 4 (webkit) and recent Android phones.