No geo_point fields logstash 6

Will this work?

PUT _template/apache-template
{
"index_patterns" : ["apache*"],
"geoip" : {
"dynamic": true,
"properties" : {
"ip": { "type": "ip" },
"location" : { "type" : "geo_point" },
"latitude" : { "type" : "half_float" },
"longitude" : { "type" : "half_float" }
}
}
}