Revision 6920
trunk/extensions/extPublish/src/org/gvsig/remoteservices/conf/mapserver/DoMap.java | ||
---|---|---|
172 | 172 |
public void classToMap(){ |
173 | 173 |
toMapln("CLASS"); |
174 | 174 |
tabIn(); |
175 |
toMapln("NAME "+name);
|
|
175 |
toMapln("NAME \""+name+"\"");
|
|
176 | 176 |
if (estilo != null) |
177 | 177 |
estilo.styleToMap(); |
178 | 178 |
if (template != null) |
... | ... | |
200 | 200 |
void startToMap() { |
201 | 201 |
toMapln("LAYER"); |
202 | 202 |
tabIn(); |
203 |
toMapln("NAME "+name);
|
|
203 |
toMapln("NAME \""+name+"\"");
|
|
204 | 204 |
toMapln("STATUS "+status); |
205 | 205 |
if (type != null) |
206 | 206 |
toMapln("TYPE "+type); |
... | ... | |
249 | 249 |
|
250 | 250 |
public void layerToMap() { |
251 | 251 |
startToMap(); |
252 |
toMapln("DATA "+data);
|
|
252 |
toMapln("DATA \""+data+"\"");
|
|
253 | 253 |
toMapln("CONNECTIONTYPE POSTGIS"); |
254 | 254 |
toMapln("CONNECTION \"user="+user+" password="+pass+" dbname="+dbname+" host="+host+" port="+port+"\""); |
255 | 255 |
metadata.metadataToMap(); |
... | ... | |
263 | 263 |
public static class RasterLayer extends MapLayer { |
264 | 264 |
public void layerToMap() { |
265 | 265 |
startToMap(); |
266 |
toMapln("DATA "+data+"\""); |
|
266 |
toMapln("DATA \""+data+"\"");
|
|
267 | 267 |
metadata.metadataToMap(); |
268 | 268 |
if (layercrs != null) layercrs.toMap(); |
269 | 269 |
if (layerClass != null) |
Also available in: Unified diff