Big KML causes data too long error. Maybe we could change data column of openlayers_level from "text" to "mediumtext"?

Comments

Pol’s picture

Hello,

This can be done yes, but are you sure that storing big KML data in the database is a good idea ?

Don't forget that these data will be in the source of your page, in the javascript settings array of Drupal.

csunny’s picture

Yes you are right.
But what happen if I choose to upload/use big KML files? The KML file's content still being inserted into database even when the page rendering system actually use the file on the file system?
Or am I misunderstanding something?

Pol’s picture

Hello,

They will be used as an external file, and not inserted in the body of the page.